diff --git a/user/scripts.py b/user/scripts.py index bdf0865..2ced668 100644 --- a/user/scripts.py +++ b/user/scripts.py @@ -382,9 +382,10 @@ def tyc_company_verify(cid): res = json.loads(requests.get(url, headers=headers).text) try: if res['result']['result'] == 1: + # 初始化企业数据 + # 更新用户认证状态 update_user_info_by_cid(cid, {"企业名称": name, "已认证": "是"}) - # 调用天眼查数据接口 return '认证成功' else: