Commit 9a2a592ffe1944f26eaafacce6edd6531c1467a1
1 parent
1414014e05
Exists in
fengning2023-06-06
add 新增小程序访视修改接口
Showing 1 changed file with 22 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatdeliverFollowController.java
View file @
9a2a592
| ... | ... | @@ -215,5 +215,27 @@ |
| 215 | 215 | return matdeliverFollowFacade.findPostpartumFollowMakeList(pid, id, uid); |
| 216 | 216 | } |
| 217 | 217 | |
| 218 | + /** | |
| 219 | + * 微信小程序根据id查询分娩随访 | |
| 220 | + * @param id | |
| 221 | + * @return | |
| 222 | + */ | |
| 223 | + @ResponseBody | |
| 224 | + @RequestMapping(value = "/wxById", method = RequestMethod.GET) | |
| 225 | + public BaseResponse getOneMatdeliverFollowMake2wx(String id) { | |
| 226 | + return matdeliverFollowFacade.getOneMatdeliverFollowMake(id); | |
| 227 | + } | |
| 228 | + | |
| 229 | + /** | |
| 230 | + * 微信小程序新增产后随访详情 | |
| 231 | + * | |
| 232 | + * @param userId | |
| 233 | + * @return | |
| 234 | + */ | |
| 235 | + @ResponseBody | |
| 236 | + @RequestMapping(value = "/wxAddMatdeliverInfo", method = RequestMethod.POST) | |
| 237 | + public BaseResponse addMatdeliverInfo2wx(MatDeliverFollowAddRequest matDeliverFollowAddRequest, Integer userId) { | |
| 238 | + return matdeliverFollowFacade.addOrUpdateMatDeliverFollow(matDeliverFollowAddRequest, userId); | |
| 239 | + } | |
| 218 | 240 | } |