|
|
|
@ -896,7 +896,7 @@ public class StoreEmployeeService {
|
|
|
|
|
params.put("state", state);
|
|
|
|
|
String message = HttpClientUtil.httpPost(cancelQrCode + MD5FileUtil.getMD5String("BOSIDENG" + sdf.format(new Date())), JSONObject.toJSONString(params)).getMessage();
|
|
|
|
|
JSONObject qrCodeJson = JSONObject.parseObject(message);
|
|
|
|
|
log.error("cancelQrCodeFromBSD" + message);
|
|
|
|
|
log.error("cpUserId="+cpUserId + "state=" + state + "cancelQrCodeFromBSD" + message);
|
|
|
|
|
BsdShareCodeResponse bsdResponse = qrCodeJson.toJavaObject(BsdShareCodeResponse.class);
|
|
|
|
|
if (null == bsdResponse) {
|
|
|
|
|
return false;
|
|
|
|
@ -921,6 +921,7 @@ public class StoreEmployeeService {
|
|
|
|
|
params.put("userId", cpUserId);
|
|
|
|
|
params.put("state", state);
|
|
|
|
|
String message = HttpClientUtil.httpPost(cancelQrCode + MD5FileUtil.getMD5String("BOSIDENG" + sdf.format(new Date())), JSONObject.toJSONString(params)).getMessage();
|
|
|
|
|
log.error("cpUserId="+cpUserId + "state=" + state + "cancelQrCodeFromBSD" + message);
|
|
|
|
|
return message;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|