|
@@ -106,9 +106,12 @@ public class GigThirdApiController {
|
|
|
// 请求body json
|
|
|
JSONObject bodyJson = JSONUtil.parseObj(body);
|
|
|
|
|
|
+ // bizContent
|
|
|
+ JSONObject bizContent = bodyJson.getJSONObject("bizContent");
|
|
|
+
|
|
|
// 批次号
|
|
|
- String batchId = bodyJson.getStr("batchId");
|
|
|
- JSONArray orderDetailList = bodyJson.getJSONArray("orderDetailList");
|
|
|
+ String batchId = bizContent.getStr("batchId");
|
|
|
+ JSONArray orderDetailList = bizContent.getJSONArray("orderDetailList");
|
|
|
|
|
|
String redisKey = String.format("%s_%s", CacheConstants.QI_FU_SETTLE_NOTIFY_KEY, batchId);
|
|
|
Boolean absent = redisTemplate.opsForValue().setIfAbsent(redisKey, batchId, 30, TimeUnit.MINUTES);
|
|
@@ -129,7 +132,7 @@ public class GigThirdApiController {
|
|
|
xinshiyiInputRecordMapper.insert(inputRecord);
|
|
|
|
|
|
// 业务处理
|
|
|
-
|
|
|
+ gigThirdApiService.xinshiyiSettleNotify(bizContent);
|
|
|
|
|
|
return "ok";
|
|
|
}
|