|
@@ -1,5 +1,6 @@
|
|
|
package com.gree.mall.manager.controller.common;
|
|
|
|
|
|
+import cn.hutool.core.date.DateUtil;
|
|
|
import com.alibaba.excel.util.StringUtils;
|
|
|
import com.gree.mall.manager.annotation.ApiNotAuth;
|
|
|
import com.gree.mall.manager.bean.PayDetail;
|
|
@@ -200,7 +201,9 @@ public class WechatController {
|
|
|
@RequestParam String code,
|
|
|
@RequestParam String pubAppId
|
|
|
) throws WxErrorException, IOException {
|
|
|
+ log.info("公众号授权:{}, 开始时间:{}" , code, DateUtil.formatDateTime(DateUtil.date()));
|
|
|
String openId = commonLogic.getPubOpenId(code, pubAppId);
|
|
|
+ log.info("公众号授权:{}, 结束时间:{}" , code, DateUtil.formatDateTime(DateUtil.date()));
|
|
|
return ResponseHelper.success(openId);
|
|
|
}
|
|
|
|