Browse Source

fix haikangweishi

release_toaliyun_real
xiaohanzi 4 years ago
parent
commit
427efd1e9e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      mallinkService/src/main/java/com/iformall/service/park/impl/haikangweishi/HaiKangWeiShiUtil.java

+ 3
- 1
mallinkService/src/main/java/com/iformall/service/park/impl/haikangweishi/HaiKangWeiShiUtil.java View File

@@ -227,7 +227,9 @@ public class HaiKangWeiShiUtil {
Map couponmap = new HashMap();
couponmap.put("plateNo", carNumber);
couponmap.put("ruleId", couponNo);
params.put("coupons", "["+JSON.toJSONString(couponmap)+"]");//商户编号
List<Map> coupons = new ArrayList<Map>();
coupons.add(couponmap);
params.put("coupons", coupons);//商户编号
String retCode = ProcBussiness(COUPON_USE, params,token,Authrozitaion);
if (StringUtils.isBlank(retCode)) {
throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(), "haikang useCoupon error. has no result");


Loading…
Cancel
Save