提交修改
This commit is contained in:
parent
830b3c0624
commit
232b693c43
@ -116,7 +116,7 @@ public class LogAop {
|
|||||||
String tencent = AnnotationUtils.getAnnotation(method, ApiConstants.EB_AUTHENTICATION);
|
String tencent = AnnotationUtils.getAnnotation(method, ApiConstants.EB_AUTHENTICATION);
|
||||||
// 如果存在NotIntercept则不进行拦截,否则进行拦截
|
// 如果存在NotIntercept则不进行拦截,否则进行拦截
|
||||||
intercept = exitClassAnnotation ? false : true;
|
intercept = exitClassAnnotation ? false : true;
|
||||||
classMethodConfigNotIntercept = exitMethodAnnotation ? false : true;
|
classMethodConfigNotIntercept = exitMethodAnnotation ? true : false;
|
||||||
|
|
||||||
faceAuthMap.put(className, intercept);
|
faceAuthMap.put(className, intercept);
|
||||||
faceAuthMap.put(classNameAndMethodName, classMethodConfigNotIntercept);
|
faceAuthMap.put(classNameAndMethodName, classMethodConfigNotIntercept);
|
||||||
|
|||||||
@ -93,7 +93,9 @@ public class ZhenZhenLogAop {
|
|||||||
HttpServletRequest request = attributes.getRequest();
|
HttpServletRequest request = attributes.getRequest();
|
||||||
uri = attributes.getRequest().getRequestURI();
|
uri = attributes.getRequest().getRequestURI();
|
||||||
|
|
||||||
|
|
||||||
String describe = null;
|
String describe = null;
|
||||||
|
log.info("ZhenZhenLogAop uri :{} ", uri);
|
||||||
// 如果不是小程序的url ,则直接过滤掉
|
// 如果不是小程序的url ,则直接过滤掉
|
||||||
if (!uri.startsWith(ApiConstants.MM_URI_START) && !uri.startsWith(ApiConstants.APP_URI_START)) {
|
if (!uri.startsWith(ApiConstants.MM_URI_START) && !uri.startsWith(ApiConstants.APP_URI_START)) {
|
||||||
return point.proceed();
|
return point.proceed();
|
||||||
|
|||||||
@ -52,6 +52,7 @@ public class BankCard2MetaController extends BaseController {
|
|||||||
|
|
||||||
|
|
||||||
// http://localhost:8888/bank/card/2/verify?bankCard=6214855713516769&realName=瞿贻晓
|
// http://localhost:8888/bank/card/2/verify?bankCard=6214855713516769&realName=瞿贻晓
|
||||||
|
// http://172.16.5.230:7848/bank/card/2/verify?bankCard=6214855713516769&realName=瞿贻晓
|
||||||
// https://api.1024api.com/api-interface/bank/card/2/verify?bankCard=6214855713516769&realName=瞿贻晓
|
// https://api.1024api.com/api-interface/bank/card/2/verify?bankCard=6214855713516769&realName=瞿贻晓
|
||||||
@EbAuthentication(tencent = ApiConstants.TENCENT_AUTH)
|
@EbAuthentication(tencent = ApiConstants.TENCENT_AUTH)
|
||||||
@RequestMapping("/verify")
|
@RequestMapping("/verify")
|
||||||
|
|||||||
@ -30,10 +30,16 @@ public class AppLinkController {
|
|||||||
* 链接
|
* 链接
|
||||||
* http://localhost:8888/app/create/link
|
* http://localhost:8888/app/create/link
|
||||||
*
|
*
|
||||||
|
|
||||||
|
curl -sS -X POST 'http://172.16.5.230:8888/app/create/link' \
|
||||||
|
-H 'Content-Type: application/json' \
|
||||||
|
-d '{}'
|
||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
@Describe("生成link")
|
@Describe("生成link")
|
||||||
@RequestMapping("/link")
|
@RequestMapping("/link")
|
||||||
@AppRealyLogin
|
//@AppRealyLogin
|
||||||
public R link(@RequestBody AppLinkRequest request) {
|
public R link(@RequestBody AppLinkRequest request) {
|
||||||
String url = weChatUtils.jumpAppletShortUrl("/pages/index/index", "?type=1", 30);
|
String url = weChatUtils.jumpAppletShortUrl("/pages/index/index", "?type=1", 30);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user