Commit 39f0f84f by weijiguang

fix orig_discount bug

parent 36782c5e
package com.soss.system.push.impl;
import com.alibaba.fastjson.JSONObject;
import com.soss.system.push.PushService;
import com.soss.system.service.impl.MachineApiServiceImpl;
import lombok.extern.slf4j.Slf4j;
......@@ -47,11 +48,11 @@ public class PushServiceImpl implements PushService {
@Override
public boolean sendPush(String machineCode, Integer screenNo, String message) {
// JSONObject requestBody = new JSONObject();
// requestBody.put("machineCode", machineCode);
// requestBody.put("screenNo", screenNo);
// requestBody.put("message", message);
// machineApiService.sendRequest(requestBody.toJSONString(), "/v1/push");
JSONObject requestBody = new JSONObject();
requestBody.put("machineCode", machineCode);
requestBody.put("screenNo", screenNo);
requestBody.put("message", message);
machineApiService.sendRequest(requestBody.toJSONString(), "/v1/push");
return true;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment