Pārlūkot izejas kodu

快手-盯盘-head Big && Naoren Pain

yangzian 3 gadi atpakaļ
vecāks
revīzija
a80cac946e

+ 6 - 2
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/controller/KuaiShouMaterialStareController.java

@@ -289,8 +289,12 @@ public class KuaiShouMaterialStareController {
      * @param requestJson
      * @return
      */
-    @PostMapping(value = "/participateListByMediaIdAllSubordinate")
-    public Result<List<JSONObject>> participateListByMediaIdAllSubordinate(@RequestBody JSONObject requestJson) {
+    @GetMapping(value = "/participateListByMediaIdAllSubordinate")
+    public Result<List<JSONObject>> participateListByMediaIdAllSubordinate(@RequestParam(name="userId") String userId,
+                                                                           @RequestParam(name="type") String type) {
+        JSONObject requestJson = new JSONObject();
+        requestJson.put("userId",userId);
+        requestJson.put("type",type);
         return materialStareService.participateListByMediaIdAllSubordinate(requestJson);
     }