|
|
@@ -0,0 +1,41 @@
|
|
|
+package cn.tr.module.smart.wx.controller;
|
|
|
+
|
|
|
+import cn.binarywang.wx.miniapp.api.WxMaService;
|
|
|
+import cn.binarywang.wx.miniapp.bean.WxMaMessage;
|
|
|
+import cn.binarywang.wx.miniapp.constant.WxMaConstants;
|
|
|
+import cn.binarywang.wx.miniapp.message.WxMaMessageRouter;
|
|
|
+import cn.binarywang.wx.miniapp.util.WxMaConfigHolder;
|
|
|
+import cn.dev33.satoken.annotation.SaIgnore;
|
|
|
+import cn.tr.core.annotation.TenantIgnore;
|
|
|
+import cn.tr.core.pojo.CommonResult;
|
|
|
+import cn.tr.core.pojo.TableDataInfo;
|
|
|
+import cn.tr.module.smart.wx.controller.vo.BizDeptAndDocVO;
|
|
|
+import cn.tr.module.smart.wx.controller.vo.BizWxPatientCodeConfigVO;
|
|
|
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
+import java.util.*;
|
|
|
+/**
|
|
|
+ * @author <a href="https://github.com/binarywang">Binary Wang</a>
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@AllArgsConstructor
|
|
|
+@RequestMapping("/wx/hospitalConfig")
|
|
|
+@Slf4j
|
|
|
+@Api(tags = "住院号相关")
|
|
|
+public class WxHospitalConfigController {
|
|
|
+
|
|
|
+ @ApiOperationSupport(author = "lf", order = 1)
|
|
|
+ @ApiOperation(value = "查询对应科室的知识库宣教文档列表", notes = "权限: 无")
|
|
|
+ @GetMapping("/query/all")
|
|
|
+ public CommonResult<List<BizWxPatientCodeConfigVO>> queryList() {
|
|
|
+ return CommonResult.success(Arrays.asList(BizWxPatientCodeConfigVO.of("MZ2025",8,"0"),
|
|
|
+ BizWxPatientCodeConfigVO.of("JK2265",6,"0"),
|
|
|
+ BizWxPatientCodeConfigVO.of("202505",10,"0")));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|