瀏覽代碼

createCartLink

三七 3 天之前
父節點
當前提交
7393bbc946
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2 5
      fs-qwhook/src/main/java/com/fs/app/controller/ApisFsUserCourseVideoController.java

+ 2 - 5
fs-qwhook/src/main/java/com/fs/app/controller/ApisFsUserCourseVideoController.java

@@ -163,11 +163,8 @@ public class ApisFsUserCourseVideoController extends BaseController {
             return R.error("客户id不能为空");
         }
 
-        if (param.getType()==null || param.getType()==1){
-            return fsUserCourseVideoService.createCartLink(param);
-        }else {
-            return fsUserCourseVideoService.createMiniLink(param);
-        }
+        return fsUserCourseVideoService.createCartLink(param);
+
     }
 
     @GetMapping("/createRoomLink")