's'
This commit is contained in:
@@ -375,7 +375,7 @@ async def handle_business(data: dict) -> str:
|
|||||||
msg = _build_keyword_h5_obj(query, user_id)
|
msg = _build_keyword_h5_obj(query, user_id)
|
||||||
if msg:
|
if msg:
|
||||||
return json.dumps(msg, ensure_ascii=False)
|
return json.dumps(msg, ensure_ascii=False)
|
||||||
return "1111111"
|
return ""
|
||||||
|
|
||||||
|
|
||||||
async def _handle_wechat_request(request: Request, app_id: Optional[str], background_tasks: BackgroundTasks) -> str:
|
async def _handle_wechat_request(request: Request, app_id: Optional[str], background_tasks: BackgroundTasks) -> str:
|
||||||
|
|||||||
@@ -492,7 +492,8 @@ async def nomadvip_wechat_profile(item: dict):
|
|||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
link_by_email = _pb_list_email_links(admin_token, email)[0] if email else None
|
link_email_items = _pb_list_email_links(admin_token, email) if email else []
|
||||||
|
link_by_email = link_email_items[0] if link_email_items else None
|
||||||
link_by_user_id = (
|
link_by_user_id = (
|
||||||
_pb_find_email_link_by_user_id(admin_token, user_id)
|
_pb_find_email_link_by_user_id(admin_token, user_id)
|
||||||
if user_id and not anonymous_user_id
|
if user_id and not anonymous_user_id
|
||||||
@@ -601,7 +602,8 @@ async def nomadvip_identity_diagnose(item: dict):
|
|||||||
wechat_record = (
|
wechat_record = (
|
||||||
_pb_get_wechat_private_user(admin_token, wechat_userid) if wechat_userid else None
|
_pb_get_wechat_private_user(admin_token, wechat_userid) if wechat_userid else None
|
||||||
)
|
)
|
||||||
link_by_email = _pb_list_email_links(admin_token, email)[0] if email else None
|
link_email_items = _pb_list_email_links(admin_token, email) if email else []
|
||||||
|
link_by_email = link_email_items[0] if link_email_items else None
|
||||||
link_by_user_id = _pb_find_email_link_by_user_id(admin_token, user_id) if user_id else None
|
link_by_user_id = _pb_find_email_link_by_user_id(admin_token, user_id) if user_id else None
|
||||||
link_by_anonymous = (
|
link_by_anonymous = (
|
||||||
_pb_find_email_link_by_anonymous_user_id(admin_token, user_id)
|
_pb_find_email_link_by_anonymous_user_id(admin_token, user_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user