diff --git a/app/api/endpoints/merchant_order.py b/app/api/endpoints/merchant_order.py index 04ff3a8..41fd645 100644 --- a/app/api/endpoints/merchant_order.py +++ b/app/api/endpoints/merchant_order.py @@ -325,7 +325,7 @@ async def complete_order( point_manager.add_points( user_id = order.user_id, points = order.gift_points, - description = f"消费送蜂蜜", + description = f"消费送积分", order_id = order.order_id ) diff --git a/app/api/endpoints/user.py b/app/api/endpoints/user.py index be305d1..a3b4d4c 100644 --- a/app/api/endpoints/user.py +++ b/app/api/endpoints/user.py @@ -520,17 +520,17 @@ async def create_user_auth( try: # 调用实名认证 - verify_result = await qcloud_manager.verify_id_card( - id_card=auth.id_number, - name=auth.name - ) + # verify_result = await qcloud_manager.verify_id_card( + # id_card=auth.id_number, + # name=auth.name + # ) - # 验证不通过 - if verify_result["Result"] != "0": # 0 表示一致,其他值表示不一致 - return error_response( - code=400, - message=f"实名认证失败: {verify_result['Description']}" - ) + # # 验证不通过 + # if verify_result["Result"] != "0": # 0 表示一致,其他值表示不一致 + # return error_response( + # code=400, + # message=f"实名认证失败: {verify_result['Description']}" + # ) # 创建认证记录 auth_record = UserAuthDB( diff --git a/jobs.sqlite b/jobs.sqlite index 8276d84..e782947 100644 Binary files a/jobs.sqlite and b/jobs.sqlite differ