zyp 2 일 전
부모
커밋
5e49ae6fe1

+ 0 - 55
fs-qwhook/src/main/java/com/fs/app/controller/FsUserCourseVideoController.java

@@ -93,61 +93,6 @@ public class FsUserCourseVideoController {
     }
 
 
-    @RepeatSubmit
-    @PostMapping("/createMiniLink")
-    public R createMiniLink(@RequestBody FsCourseLinkMiniParam param) {
-
-        if (param.getCourseId()==null){
-            return R.error("课程id不能为空");
-        }
-        if (param.getVideoId()==null){
-            return R.error("视频id不能为空");
-        }
-        if (StringUtil.strIsNullOrEmpty(param.getQwUserId())){
-            return R.error("用户id不能为空");
-        }
-        if (StringUtil.strIsNullOrEmpty(param.getCorpId())){
-            return R.error("企业id不能为空");
-        }
-
-        if (param.getExternalUserId()==null){
-            return R.error("客户id不能为空");
-        }
-
-        return fsUserCourseVideoService.createMiniLink(param);
-    }
-
-    /**
-     * 创建发卡片
-     */
-    @RepeatSubmit
-    @PostMapping("/createCartLink")
-    public R createCartLink(@RequestBody  FsCourseLinkMiniParam param) {
-        if (param.getCourseId()==null){
-            return R.error("课程id不能为空");
-        }
-        if (param.getVideoId()==null){
-            return R.error("视频id不能为空");
-        }
-        if (StringUtil.strIsNullOrEmpty(param.getQwUserId())){
-            return R.error("用户id不能为空");
-        }
-        if (StringUtil.strIsNullOrEmpty(param.getCorpId())){
-            return R.error("企业id不能为空");
-        }
-
-        if (param.getExternalUserId()==null){
-            return R.error("客户id不能为空");
-        }
-        if (param.getType()==null || param.getType()==1){
-            return fsUserCourseVideoService.createCartLink(param);
-        }else {
-            return fsUserCourseVideoService.createMiniLink(param);
-        }
-    }
-
-
-
 
     @Autowired
     private IFsCourseLinkService courseLinkService;

+ 2 - 13
fs-service/src/main/resources/application-config-druid-zsjk.yml

@@ -1,5 +1,6 @@
 baidu:
   token: 12313231232
+  back-domain: https://www.xxxx.com
 #配置
 logging:
   level:
@@ -7,18 +8,6 @@ logging:
     com.github.binarywang.demo.wx.cp: DEBUG
     me.chanjar.weixin: DEBUG
 wx:
-  miniapp:
-    configs:
-      - appid: wx4115995705bb0ea0   #中康智慧
-        secret: 58910ae743005c396012b029c7def579
-        token: Ncbnd7lJvkripVOpyTFAna6NAWCxCrvC
-        aesKey: HlEiBB55eaWUaeBVAQO3cWKWPYv1vOVQSq7nFNICw4E
-        msgDataFormat: JSON
-      - appid: wxedde588767b358b1   #中康未来智慧药房
-        secret: 928d2961c81610d8f64b019597212fcd
-        token: Ncbnd7lJvkripVOpyTFAna6NAWCxCrvC
-        aesKey: HlEiBB55eaWUaeBVAQO3cWKWPYv1vOVQSq7nFNICw4E
-        msgDataFormat: JSON
   cp:
     corpId:
     appConfigs:
@@ -42,7 +31,7 @@ wx:
       timeout: 2000
       password: F&C6SI@w
     configs:
-      - appId:  # 第一个公众号的appid  //公众号名称:成都九州在线互联网医院
+      - appId:  wx21eb60f1670b30fb# 第一个公众号的appid  //公众号名称:中食健康CFSH
         secret:  # 公众号的appsecret
         token:  # 接口配置里的Token值
         aesKey:  # 接口配置里的EncodingAESKey值