diff --git a/cweb/src/main/java/com/cweb/controller/TestController.java b/cweb/src/main/java/com/cweb/controller/TestController.java index cc769ab..ac5c6b3 100644 --- a/cweb/src/main/java/com/cweb/controller/TestController.java +++ b/cweb/src/main/java/com/cweb/controller/TestController.java @@ -639,7 +639,11 @@ public class TestController { public ResponseData ttsCustomDemo() { try { - return ResponseMsgUtil.success(HWYunSisService.ttsCustomDemo()); + JSONObject object = new JSONObject(); + object.put("storeName" , "YCY酒吧"); + object.put("price" , "374.87"); + + return ResponseMsgUtil.success(HWYunSisService.ttsCustomDemo(object)); } catch (Exception e) { log.error(e.getMessage(), e); @@ -661,11 +665,8 @@ public class TestController { object.put("title" , "测试测试"); object.put("body" , "惠支付收款88.8元"); - UniPushService.androidTemplate(object); - - - return ResponseMsgUtil.success("audience"); + return ResponseMsgUtil.success(UniPushService.pushToSingleByCid(object)); } catch (Exception e) { log.error(e.getMessage(), e); diff --git a/service/pom.xml b/service/pom.xml index 395fc6e..da8a506 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -383,6 +383,11 @@ restful-sdk 1.0.0.13 + + cn.jpush.api + jpush-client + 3.2.17 +