Преглед изворни кода

1.修复获取评论列表报错

qmj пре 1 месец
родитељ
комит
1eb7c911bb

+ 2 - 0
ruoyi-admin/src/main/java/com/ruoyi/app/order/PointController.java

@@ -25,6 +25,8 @@ import org.springframework.web.bind.annotation.*;
 public class PointController extends BaseController {
     @Autowired
     private IPointsTransactionService  pointsTransactionService;
+
+    
     /**
      * 用户积分流水分页列表
      */

+ 3 - 3
ruoyi-admin/src/main/java/com/ruoyi/app/utils/PayPush.java

@@ -9,7 +9,7 @@ public class PayPush {
         String url = "https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/push?cid="+cid+
                 "&title="+title+"&content="+content+"&payload="+body;
         String res="";
-        res = HttpUtil.get(url);
+//        res = HttpUtil.get(url);
         //JSONObject jsonObject =  JSON.parseObject(res);
         System.out.println("=========================1111111111111111"+res);
     }
@@ -18,7 +18,7 @@ public class PayPush {
         String url = "https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/msdqspush?cid="+cid+
                 "&title="+title+"&content="+content+"&payload="+body+"&sound=pushsound.caf";
         String res="";
-        res = HttpUtil.get(url);
+//        res = HttpUtil.get(url);
         //JSONObject jsonObject =  JSON.parseObject(res);
         System.out.println("=========================用户推送"+res);
     }
@@ -28,7 +28,7 @@ public class PayPush {
         String url = "https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/msdsjpush?cid="+cid+
                 "&title="+title+"&content="+content+"&payload="+body;
         String res="";
-        res = HttpUtil.get(url);
+//        res = HttpUtil.get(url);
         //JSONObject jsonObject =  JSON.parseObject(res);
         System.out.println("=========================商家推送"+res);
     }

+ 2 - 9
ruoyi-system/src/main/java/com/ruoyi/system/controller/PosAppealController.java

@@ -9,14 +9,7 @@ import com.ruoyi.system.service.IPosOrderService;
 import com.ruoyi.system.utils.Auth;
 import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.PutMapping;
-import org.springframework.web.bind.annotation.DeleteMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 import com.ruoyi.common.annotation.Log;
 import com.ruoyi.common.core.controller.BaseController;
 import com.ruoyi.common.core.domain.AjaxResult;
@@ -68,7 +61,7 @@ public class PosAppealController extends BaseController
     @Anonymous
 //    @Auth
     @GetMapping("/apiList")
-    public AjaxResult list(String ddId,String userType)
+    public AjaxResult list(@RequestParam String ddId, @RequestParam String userType)
     {
         PosAppeal posAppeal = new PosAppeal();
         posAppeal.setDdId(ddId);