|
|
@ -119,6 +119,7 @@ public class PayServiceImpl implements PayService { |
|
|
JSONObject aplinkCodeJson = SzwhApiUtils.getApplyLinkCode(odgd.getSourcedataIslicode(), |
|
|
JSONObject aplinkCodeJson = SzwhApiUtils.getApplyLinkCode(odgd.getSourcedataIslicode(), |
|
|
buyIslicode, ratio, transCount, dateStr, batchcode); |
|
|
buyIslicode, ratio, transCount, dateStr, batchcode); |
|
|
log.info("订单合约编号:" + aplinkCodeJson); |
|
|
log.info("订单合约编号:" + aplinkCodeJson); |
|
|
|
|
|
// 法一 存在data 节点
|
|
|
if(!aplinkCodeJson.isEmpty()) { //非空
|
|
|
if(!aplinkCodeJson.isEmpty()) { //非空
|
|
|
JSONArray aparr = aplinkCodeJson.getJSONArray("data"); |
|
|
JSONArray aparr = aplinkCodeJson.getJSONArray("data"); |
|
|
JSONObject lkcjson = (JSONObject) aparr.get(0); |
|
|
JSONObject lkcjson = (JSONObject) aparr.get(0); |
|
|
|