chenyongxing 6 лет назад
Родитель
Сommit
46144e889d

+ 1 - 1
svr/svr-patient/src/main/java/com/yihu/jw/patient/endpoint/wechat/WechatInfoEndPoint.java

@ -97,7 +97,7 @@ public class WechatInfoEndPoint extends EnvelopRestEndpoint {
     */
    @RequestMapping(value = "getOpenidByCode", method = {RequestMethod.POST, RequestMethod.GET})
    @ResponseBody
    public String getOpenidByCode(String code) {
    public String getOpenidByCode(String code) throws Exception {
        return wechatInfoService.getOpenidByCode(code,wxId);
    }