Commit 39f0f84f by weijiguang

fix orig_discount bug

parent 36782c5e
package com.soss.system.push.impl; package com.soss.system.push.impl;
import com.alibaba.fastjson.JSONObject;
import com.soss.system.push.PushService; import com.soss.system.push.PushService;
import com.soss.system.service.impl.MachineApiServiceImpl; import com.soss.system.service.impl.MachineApiServiceImpl;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
...@@ -47,11 +48,11 @@ public class PushServiceImpl implements PushService { ...@@ -47,11 +48,11 @@ public class PushServiceImpl implements PushService {
@Override @Override
public boolean sendPush(String machineCode, Integer screenNo, String message) { public boolean sendPush(String machineCode, Integer screenNo, String message) {
// JSONObject requestBody = new JSONObject(); JSONObject requestBody = new JSONObject();
// requestBody.put("machineCode", machineCode); requestBody.put("machineCode", machineCode);
// requestBody.put("screenNo", screenNo); requestBody.put("screenNo", screenNo);
// requestBody.put("message", message); requestBody.put("message", message);
// machineApiService.sendRequest(requestBody.toJSONString(), "/v1/push"); machineApiService.sendRequest(requestBody.toJSONString(), "/v1/push");
return true; 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