diff --git a/b/cntoai/model_management_customer_search.dspy b/b/cntoai/model_management_customer_search.dspy index f8e066d..1876e1f 100644 --- a/b/cntoai/model_management_customer_search.dspy +++ b/b/cntoai/model_management_customer_search.dspy @@ -8,7 +8,7 @@ _CUSTOMER_MODEL_COLUMNS = """ id, llmid, provider, model_name, display_name, model_type, context_length, input_token_price, output_token_price, cache_hit_input_price, billing_method, billing_unit, - capabilities, limitations, highlights, description, sort_order + capabilities, limitations, highlights, description, sort_order,is_active, experience """ diff --git a/b/user/loginUser.dspy b/b/user/loginUser.dspy index 8f98f93..5efdb04 100644 --- a/b/user/loginUser.dspy +++ b/b/user/loginUser.dspy @@ -152,7 +152,7 @@ async def loginUser(ns): type = 0 if type1 == 1: # 手机号验证码登录 - userreacs = await sor.R('users', {'mobile': ns.get('username')}) + userreacs = await sor.R('users', {'mobile': ns.get('mobile')}) if not userreacs: userreacs = await sor.R('users', {'username': ns.get('username')}) diff --git a/b/user/logintype.dspy b/b/user/logintype.dspy index 5d71bde..8151223 100644 --- a/b/user/logintype.dspy +++ b/b/user/logintype.dspy @@ -199,7 +199,7 @@ async def logintype(ns): return {'status': False, 'msg': '验证码不正确'} if type == 1: # 手机号登录 - users = await sor.R('users', {'mobile': ns.get('username')}) + users = await sor.R('users', {'mobile': ns.get('mobile')}) if not users: users = await sor.R('users', {'username': ns.get('username')}) else: