|
|
|
@@ -60,7 +60,7 @@ public class HaiKangWeiShiUtil { |
|
|
|
public static final String AUTHROZITAION = "https://open.hikyun.com/artemis/api/eits/v1/login"; |
|
|
|
public static final String GET_FEE = "https://open.hikyun.com/api/pmsc/v1/pay/ quickGetVehicleBill"; |
|
|
|
public static final String COUPON_USE = "https://open.hikyun.com/api/pmsc/v1/coupon/addition"; |
|
|
|
public static final String SUBSCRIPTION = "https://open.hikyun.com/api/pmsc/v1/sub/subscription"; |
|
|
|
public static final String SUBSCRIPTION = "https://open.hikyun.com/artemis/api/pmsc/v1/sub/subscription"; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@@ -265,7 +265,7 @@ public class HaiKangWeiShiUtil { |
|
|
|
Map<String,Object> params = new HashMap<String,Object>(); |
|
|
|
params.put("partnerAppKey", vp.getString("ak"));//商户编号 |
|
|
|
params.put("projectId", vp.getString("projectId")); |
|
|
|
params.put("eventTypes", "[\"771760131\",\"771760134\"]"); |
|
|
|
params.put("eventTypes", new Integer[] {771760131,771760134}); |
|
|
|
params.put("subUrl", vp.getString("subUrl")); |
|
|
|
String retCode = ProcBussiness(SUBSCRIPTION, params,token,Authrozitaion); |
|
|
|
if (StringUtils.isBlank(retCode)) { |
|
|
|
@@ -278,7 +278,7 @@ public class HaiKangWeiShiUtil { |
|
|
|
throw new MallinkException(errStatus,"haikang subscription error.["+result.getString("error")+"]"+result.getString("message")); |
|
|
|
} |
|
|
|
|
|
|
|
if (!result.getString("code").equals("200") ) { |
|
|
|
if (!result.getString("code").equals("0") ) { |
|
|
|
String message = result.getString("msg"); |
|
|
|
throw new MallinkException(result.getInteger("code"), "haikang subscription error."+message); |
|
|
|
} |
|
|
|
|