|
@@ -2,6 +2,7 @@ package com.sxtvs.open.api.odata.controller;
|
|
|
|
|
|
import com.sxtvs.open.api.odata.wxutil.WxCrypt;
|
|
|
import com.sxtvs.open.api.odata.wxutil.WxXmlUtil;
|
|
|
+import com.sxtvs.open.core.advice.NoAPIResponse;
|
|
|
import com.sxtvs.open.core.sls.AliyunLogger;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.redis.core.StringRedisTemplate;
|
|
@@ -20,6 +21,7 @@ public class OauthRestController {
|
|
|
private StringRedisTemplate redisTemplate;
|
|
|
|
|
|
@RequestMapping("weixin/auth")
|
|
|
+ @NoAPIResponse
|
|
|
public String auth(@RequestBody String body) {
|
|
|
logger.info("body", body, "key", "oauth/weixin/auth");
|
|
|
String xml = WxCrypt.decrypt(WxXmlUtil.getEncrypt(body));
|