Forráskód Böngészése

feat: 浪潮回调接口

lixuesong 2 éve
szülő
commit
24e2b6ec60

+ 2 - 1
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/GigThirdApiController.java

@@ -94,7 +94,7 @@ public class GigThirdApiController {
 		// 项目单号
 		String batchNo = bodyJson.getStr("batch_no");
 		// 订单状态
-		Integer orderStatus = bodyJson.getInt("order_status");
+		Integer orderStatus = bodyJson.getInt("status");
 		// project_accounts
 		JSONArray projectAccounts = bodyJson.getJSONArray("project_accounts");
 		// 账号单号
@@ -104,6 +104,7 @@ public class GigThirdApiController {
 		}
 		JSONObject projectAccountObj = (JSONObject) projectAccounts.get(0);
 		String accountNo = projectAccountObj.getStr("account_no");
+		String status = projectAccountObj.getStr("status");// TODO 项目status和详情的status ???
 
 		String redisKey = String.format("%s_%s_%s", CacheConstants.ZHEGN_QI_ZHI_XING_NOTIFY_KEY, channel, accountNo);
 		Boolean absent = redisTemplate.opsForValue().setIfAbsent(redisKey, accountNo, 30, TimeUnit.MINUTES);