feat(supplementPersonal): 保存后跳转首页、身高标必填、sn 参数改为可选

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-08-20 14:09:51 +08:00
co-authored by Claude Sonnet 4.6
parent e5f76fc0a9
commit feb494080c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export const checkOpenIdLogin = (code: string) =>
post<LoginResult>('weighingScale/v2/checkOpenIdLogin', { code })
/** 根据身份证号查询用户信息 */
export const getUserInfoByIdCard = (params: { sn: string; idCard: string; realname: string }) =>
export const getUserInfoByIdCard = (params: { sn?: string; idCard: string; realname: string }) =>
get<UserInfo | null>('weighingScale/v3/getUserInfoByIdcard', params, { loading: false })
/** 更新用户信息 */