|
@ -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);
|
|
|
}
|
|
|
|