|
|
|
@ -275,6 +275,7 @@ public class StoreEmployeeService {
|
|
|
|
|
params.put("state", state);
|
|
|
|
|
params.put("storeNo", storeNo);
|
|
|
|
|
String message = HttpClientUtil.httpPost(qrCodeBsdUrl + MD5FileUtil.getMD5String("BOSIDENG" + sdf.format(new Date())), JSONObject.toJSONString(params)).getMessage();
|
|
|
|
|
log.info("cpUserId="+cpUserId + "type=" + type + "state=" + state + "storeNo=" + storeNo + "getQrCodeFromBSD " + message);
|
|
|
|
|
JSONObject qrCodeJson = JSONObject.parseObject(message);
|
|
|
|
|
BsdShareCodeResponse bsdResponse = qrCodeJson.toJavaObject(BsdShareCodeResponse.class);
|
|
|
|
|
if (bsdResponse.getSuccess() && StringUtils.isNotBlank(bsdResponse.getData())) {
|
|
|
|
|