|
|
@ -16,6 +16,7 @@ from api.utils.mp.utils import WxMsgCryptBase |
|
|
|
logger = logging.getLogger(__name__) |
|
|
|
logger = logging.getLogger(__name__) |
|
|
|
wx_login_info = THIRDLOGINCONF.wx_official |
|
|
|
wx_login_info = THIRDLOGINCONF.wx_official |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def format_req_json(j_data, func, *args, **kwargs): |
|
|
|
def format_req_json(j_data, func, *args, **kwargs): |
|
|
|
if j_data.get("errcode") == 40001 or 'invalid credential' in j_data.get('errmsg', ''): |
|
|
|
if j_data.get("errcode") == 40001 or 'invalid credential' in j_data.get('errmsg', ''): |
|
|
|
logger.error(f"error j_data {j_data}") |
|
|
|
logger.error(f"error j_data {j_data}") |
|
|
|