Commit 48159872 by levphon

工单标准接口-短信异步修改

1 parent 33fd03e7
...@@ -46,15 +46,14 @@ public class MessageService { ...@@ -46,15 +46,14 @@ public class MessageService {
String post = RopHttpUtil.postE(params, String.class, sendMessageUrl + "?method=" + sendMessageMethod, sendMessageMethod); String post = RopHttpUtil.postE(params, String.class, sendMessageUrl + "?method=" + sendMessageMethod, sendMessageMethod);
log.info("发送短信结果{}", post); log.info("发送短信结果{}", post);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
log.error("发送短信到{}异常,{}", phone, e.getMessage()); log.error("发送短信到{}异常,{}", phone, e.getMessage());
//throw new StdInterfaceException("444444", e.getMessage()); //throw new StdInterfaceException("444444", e.getMessage());
} }
} }
public static void main(String[] args) { // public static void main(String[] args) {
MessageService messageService = new MessageService(); // MessageService messageService = new MessageService();
messageService.sendMessage("18682185876", "eshield_workOrder_warm", "1", "this is a test!"); // messageService.sendMessage("18682185876", "eshield_workOrder_warm", "1", "this is a test!");
} // }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!