From d6ae9eb36186a924800d7e0433c3eb35c5ccb6f7 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 11 八月 2025 15:10:15 +0800
Subject: [PATCH] fix: 修改登录

---
 packages/constants/enum.ts                                                         |   11 -
 apps/bMiniApp/package.json                                                         |    2 
 apps/cMiniApp/src/stores/modules/user.ts                                           |   52 +++---
 apps/cMiniApp/package.json                                                         |    2 
 apps/cMiniApp/project.private.config.json                                          |    7 +
 packages/services/apiV2/auth.ts                                                    |   63 +++++++-
 apps/bMiniApp/project.config.json                                                  |    4 
 apps/bMiniApp/src/subpackages/login/authorization/authorization.vue                |   55 +++----
 pnpm-lock.yaml                                                                     |   12 
 apps/cMiniApp/src/subpackages/curriculum/mineCurriculumVitae/InnerPage.vue         |    6 
 apps/bMiniApp/src/subpackages/login/components/LoginPageLayout/LoginPageLayout.vue |    2 
 apps/bMiniApp/src/stores/modules/user.ts                                           |   63 ++++----
 packages/services/apiV2/typings.d.ts                                               |   80 ++++++++++-
 packages/constants/apiEnum.ts                                                      |   10 +
 14 files changed, 241 insertions(+), 128 deletions(-)

diff --git a/apps/bMiniApp/package.json b/apps/bMiniApp/package.json
index 026a189..38ea55c 100644
--- a/apps/bMiniApp/package.json
+++ b/apps/bMiniApp/package.json
@@ -78,7 +78,7 @@
     "lodash": "^4.17.21",
     "pinia": "^2.1.6",
     "qs": "^6.11.1",
-    "senin-mini": "^1.0.10",
+    "senin-mini": "^1.0.12",
     "senior-request": "^1.0.3",
     "taro-plugin-pinia": "^1.0.0",
     "vconsole": "^3.15.1",
diff --git a/apps/bMiniApp/project.config.json b/apps/bMiniApp/project.config.json
index e4afad4..7bc8fee 100644
--- a/apps/bMiniApp/project.config.json
+++ b/apps/bMiniApp/project.config.json
@@ -3,8 +3,8 @@
     "description": "",
     "setting": {
         "urlCheck": false,
-        "es6": false,
-        "enhance": false,
+        "es6": true,
+        "enhance": true,
         "postcss": false,
         "preloadBackgroundData": false,
         "minified": false,
diff --git a/apps/bMiniApp/src/stores/modules/user.ts b/apps/bMiniApp/src/stores/modules/user.ts
index 78f699f..43999ef 100644
--- a/apps/bMiniApp/src/stores/modules/user.ts
+++ b/apps/bMiniApp/src/stores/modules/user.ts
@@ -9,8 +9,6 @@
   getUserDetail,
   removeUserDetail,
 } from '@/utils/storage/auth';
-import * as accountServices from '@12333/services/api/Account';
-// import * as userServices from '@12333/services/api/User';
 import Taro, { useRouter } from '@tarojs/taro';
 import { ButtonProps } from '@tarojs/components';
 import { debounce } from 'lodash';
@@ -24,7 +22,6 @@
   md5Encrypt,
 } from '@12333/utils';
 import DefaultAvatar from '@/assets/components/icon-default-avatar.png';
-import { WxMiniAppEnum } from '@12333/constants';
 import { myClient } from '@/constants/query';
 import { globalEventEmitter } from '@12333/hooks';
 import * as authServices from '@12333/services/apiV2/auth';
@@ -96,21 +93,19 @@
     // 鎵嬫満鍙锋巿鏉僀ode鐧诲綍
     async getTokenByPhone(
       detail: ButtonProps.onGetPhoneNumberEventDetail,
-      wxMiniAppUserLoginRes: any
+      wxMiniAppUserLoginRes: API.LoginCommandCallback
     ) {
       try {
-        let res: API.IdentityModelTokenCacheItem;
-        if (!wxMiniAppUserLoginRes.accessToken) {
-          let params: API.WxMiniAppPhoneLoginInput = {
-            openId: wxMiniAppUserLoginRes.openId,
-            sessionKey: wxMiniAppUserLoginRes.sessionKey,
+        let res: API.LoginCommandCallback = wxMiniAppUserLoginRes;
+        if (!wxMiniAppUserLoginRes.isBindPhoneNumber) {
+          let bindRes = await authServices.bindWxmpUserInfo({
             encryptedData: detail.encryptedData,
             iv: detail.iv,
-            wxMiniApp: WxMiniAppEnum.C绔皬绋嬪簭,
-          };
-          res = await accountServices.wxMiniAppPhoneAuthLogin(params);
-          this.loginSuccess(res);
+            sessionKey: wxMiniAppUserLoginRes.sessionKey,
+          });
+          res.accessToken = bindRes.accessToken;
         }
+        this.loginSuccess(res);
         return res;
       } catch (error) {
         console.log('error3: ', error);
@@ -161,15 +156,15 @@
     },
 
     async wxMiniAppUserLoginFromScan(wxIndentityRes: API.WxMiniAppIndentityInfo, uuid: string) {
-      try {
-        let res = await accountServices.wxMiniAppUserLoginFromScan({
-          uId: uuid,
-          userName: wxIndentityRes.userName,
-          openId: wxIndentityRes.openId,
-        });
-        this.loginSuccess(res);
-        return res;
-      } catch (error) {}
+      // try {
+      //   let res = await accountServices.wxMiniAppUserLoginFromScan({
+      //     uId: uuid,
+      //     userName: wxIndentityRes.userName,
+      //     openId: wxIndentityRes.openId,
+      //   });
+      //   this.loginSuccess(res);
+      //   return res;
+      // } catch (error) {}
     },
 
     async wxMiniAppPhoneAuthLoginFromScan(
@@ -177,18 +172,18 @@
       wxIndentityRes: API.WxMiniAppIndentityInfo,
       uuid: string
     ) {
-      try {
-        let res = await accountServices.wxMiniAppPhoneAuthLoginFromScan({
-          uId: uuid,
-          openId: wxIndentityRes.openId,
-          sessionKey: wxIndentityRes.sessionKey,
-          encryptedData: detail.encryptedData,
-          iv: detail.iv,
-          wxMiniApp: WxMiniAppEnum.C绔皬绋嬪簭,
-        });
-        this.loginSuccess(res);
-        return res;
-      } catch (error) {}
+      // try {
+      //   let res = await accountServices.wxMiniAppPhoneAuthLoginFromScan({
+      //     uId: uuid,
+      //     openId: wxIndentityRes.openId,
+      //     sessionKey: wxIndentityRes.sessionKey,
+      //     encryptedData: detail.encryptedData,
+      //     iv: detail.iv,
+      //     wxMiniApp: WxMiniAppEnum.C绔皬绋嬪簭,
+      //   });
+      //   this.loginSuccess(res);
+      //   return res;
+      // } catch (error) {}
     },
 
     // async getCurrentUserInfo() {
diff --git a/apps/bMiniApp/src/subpackages/login/authorization/authorization.vue b/apps/bMiniApp/src/subpackages/login/authorization/authorization.vue
index 8968b1a..61b1869 100644
--- a/apps/bMiniApp/src/subpackages/login/authorization/authorization.vue
+++ b/apps/bMiniApp/src/subpackages/login/authorization/authorization.vue
@@ -57,11 +57,10 @@
 import { CommonEventFunction, ButtonProps } from '@tarojs/components';
 import Taro from '@tarojs/taro';
 import { useLoginedJump } from '@/hooks';
-import * as accountServices from '@12333/services/api/Account';
 import IconCaptcha from '@/assets/login/icon-btn-captcha.png';
 import IconPassword from '@/assets/login/icon-btn-password.png';
 import { LoginFormTabs } from '../constants';
-import { WxMiniAppEnum } from '@12333/constants';
+import * as authServices from '@12333/services/apiV2/auth';
 
 defineOptions({
   name: 'authorization',
@@ -90,8 +89,8 @@
     RouterPath.authorization.includes(launchOptions.path) && launchOptions.scene === 1047 && uuid
 );
 
-const wxIndentityRes = ref<API.WxMiniAppIndentityInfo>();
-const wxMiniAppUserLoginRes = ref<API.IdentityModelTokenCacheItem>();
+const wxIndentityRes = ref<API.LoginCommandCallback>();
+const wxMiniAppUserLoginRes = ref<API.LoginCommandCallback>();
 
 const isAccount = ref(false);
 
@@ -99,21 +98,21 @@
   try {
     let loginRes = await Taro.login();
     if (isLoginByWeb.value) {
-      const wxIndentity = await accountServices.getWxIndentity({
-        code: loginRes.code,
-        wxMiniApp: WxMiniAppEnum.C绔皬绋嬪簭,
-      });
-      wxIndentityRes.value = wxIndentity;
-      if (wxIndentityRes.value.userName) {
-        isAccount.value = true;
-      }
+      // const wxIndentity = await authServices.wxmpLogin({
+      //   code: loginRes.code,
+      //   type: AppLocalConfig.userType,
+      // });
+      // wxIndentityRes.value = wxIndentity;
+      // if (wxIndentityRes.value.isBindPhoneNumber) {
+      //   isAccount.value = true;
+      // }
     } else {
-      const params: API.APIwxMiniAppUserLoginParams = {
+      const params: API.WxmpLoginCommand = {
         code: loginRes.code,
-        wxMiniApp: WxMiniAppEnum.C绔皬绋嬪簭,
+        type: AppLocalConfig.userType,
       };
-      wxMiniAppUserLoginRes.value = await accountServices.wxMiniAppUserLogin(params);
-      if (wxMiniAppUserLoginRes.value.accessToken) {
+      wxMiniAppUserLoginRes.value = await authServices.wxmpLogin(params);
+      if (wxMiniAppUserLoginRes.value.isBindPhoneNumber) {
         isAccount.value = true;
       }
     }
@@ -126,14 +125,14 @@
     console.log('errMsg: ', errMsg, isLoginByWeb.value);
     if (errMsg === 'getPhoneNumber:ok') {
       if (isLoginByWeb.value) {
-        let res = await userStore.wxMiniAppPhoneAuthLoginFromScan(
-          ev.detail,
-          wxIndentityRes.value,
-          uuid
-        );
-        if (res) {
-          handleLoginSuccess();
-        }
+        // let res = await userStore.wxMiniAppPhoneAuthLoginFromScan(
+        //   ev.detail,
+        //   wxIndentityRes.value,
+        //   uuid
+        // );
+        // if (res) {
+        //   handleLoginSuccess();
+        // }
       } else {
         let res = await userStore.getTokenByPhone(ev.detail, wxMiniAppUserLoginRes.value);
         if (res) {
@@ -153,10 +152,10 @@
     if (state.policyChecked) {
       if (isLoginByWeb.value) {
         console.log('uuid: ', uuid);
-        let res = await userStore.wxMiniAppUserLoginFromScan(wxIndentityRes.value, uuid);
-        if (res) {
-          handleLoginSuccess();
-        }
+        // let res = await userStore.wxMiniAppUserLoginFromScan(wxIndentityRes.value, uuid);
+        // if (res) {
+        //   handleLoginSuccess();
+        // }
       } else {
         userStore.loginSuccess(wxMiniAppUserLoginRes.value);
         handleLoginSuccess();
diff --git a/apps/bMiniApp/src/subpackages/login/components/LoginPageLayout/LoginPageLayout.vue b/apps/bMiniApp/src/subpackages/login/components/LoginPageLayout/LoginPageLayout.vue
index 47fcdd2..bc88221 100644
--- a/apps/bMiniApp/src/subpackages/login/components/LoginPageLayout/LoginPageLayout.vue
+++ b/apps/bMiniApp/src/subpackages/login/components/LoginPageLayout/LoginPageLayout.vue
@@ -7,7 +7,7 @@
       <img :src="OssAssets.login.AuthBg" class="authorization-page-auth" />
     </template>
 
-    <div class="authorization-page-title">娆㈣繋浣跨敤818骞冲彴</div>
+    <div class="authorization-page-title">娆㈣繋浣跨敤宸ョ泭璧�</div>
 
     <slot></slot>
   </PageLayout>
diff --git a/apps/cMiniApp/package.json b/apps/cMiniApp/package.json
index bff1bb9..93b87a2 100644
--- a/apps/cMiniApp/package.json
+++ b/apps/cMiniApp/package.json
@@ -78,7 +78,7 @@
     "lodash": "^4.17.21",
     "pinia": "^2.1.6",
     "qs": "^6.11.1",
-    "senin-mini": "^1.0.10",
+    "senin-mini": "^1.0.12",
     "senior-request": "^1.0.3",
     "taro-plugin-pinia": "^1.0.0",
     "vconsole": "^3.15.1",
diff --git a/apps/cMiniApp/project.private.config.json b/apps/cMiniApp/project.private.config.json
index a17549d..a6c0377 100644
--- a/apps/cMiniApp/project.private.config.json
+++ b/apps/cMiniApp/project.private.config.json
@@ -9,6 +9,13 @@
         "miniprogram": {
             "list": [
                 {
+                    "name": "鎴戠殑绠�鍘�",
+                    "pathName": "subpackages/curriculum/mineCurriculumVitae/mineCurriculumVitae",
+                    "query": "",
+                    "launchMode": "default",
+                    "scene": null
+                },
+                {
                     "name": "鍏徃璇︽儏",
                     "pathName": "subpackages/task/companyDetail/companyDetail",
                     "query": "id=f775538f-985c-4d51-7985-08ddd5c71bbf",
diff --git a/apps/cMiniApp/src/stores/modules/user.ts b/apps/cMiniApp/src/stores/modules/user.ts
index 21cf5ab..39b8df7 100644
--- a/apps/cMiniApp/src/stores/modules/user.ts
+++ b/apps/cMiniApp/src/stores/modules/user.ts
@@ -9,8 +9,6 @@
   getUserDetail,
   removeUserDetail,
 } from '@/utils/storage/auth';
-import * as accountServices from '@12333/services/api/Account';
-import * as userServices from '@12333/services/api/User';
 import Taro, { useRouter } from '@tarojs/taro';
 import { ButtonProps } from '@tarojs/components';
 import { debounce } from 'lodash';
@@ -24,7 +22,6 @@
   md5Encrypt,
 } from '@12333/utils';
 import DefaultAvatar from '@/assets/components/icon-default-avatar.png';
-import { WxMiniAppEnum } from '@12333/constants';
 import { myClient } from '@/constants/query';
 import { globalEventEmitter } from '@12333/hooks';
 import * as authServices from '@12333/services/apiV2/auth';
@@ -161,15 +158,15 @@
     },
 
     async wxMiniAppUserLoginFromScan(wxIndentityRes: API.WxMiniAppIndentityInfo, uuid: string) {
-      try {
-        let res = await accountServices.wxMiniAppUserLoginFromScan({
-          uId: uuid,
-          userName: wxIndentityRes.userName,
-          openId: wxIndentityRes.openId,
-        });
-        this.loginSuccess(res);
-        return res;
-      } catch (error) {}
+      // try {
+      //   let res = await accountServices.wxMiniAppUserLoginFromScan({
+      //     uId: uuid,
+      //     userName: wxIndentityRes.userName,
+      //     openId: wxIndentityRes.openId,
+      //   });
+      //   this.loginSuccess(res);
+      //   return res;
+      // } catch (error) {}
     },
 
     async wxMiniAppPhoneAuthLoginFromScan(
@@ -177,18 +174,18 @@
       wxIndentityRes: API.WxMiniAppIndentityInfo,
       uuid: string
     ) {
-      try {
-        let res = await accountServices.wxMiniAppPhoneAuthLoginFromScan({
-          uId: uuid,
-          openId: wxIndentityRes.openId,
-          sessionKey: wxIndentityRes.sessionKey,
-          encryptedData: detail.encryptedData,
-          iv: detail.iv,
-          wxMiniApp: WxMiniAppEnum.C绔皬绋嬪簭,
-        });
-        this.loginSuccess(res);
-        return res;
-      } catch (error) {}
+      // try {
+      //   let res = await accountServices.wxMiniAppPhoneAuthLoginFromScan({
+      //     uId: uuid,
+      //     openId: wxIndentityRes.openId,
+      //     sessionKey: wxIndentityRes.sessionKey,
+      //     encryptedData: detail.encryptedData,
+      //     iv: detail.iv,
+      //     wxMiniApp: WxMiniAppEnum.C绔皬绋嬪簭,
+      //   });
+      //   this.loginSuccess(res);
+      //   return res;
+      // } catch (error) {}
     },
 
     async getCurrentUserInfo() {
@@ -213,8 +210,11 @@
     },
 
     setUserInfoAction(info: API.LoginCommandCallback) {
-      this.userInfo = info;
-      setUserInfo(info);
+      this.userInfo = {
+        ...this.userInfo,
+        ...info,
+      };
+      setUserInfo(this.userInfo);
     },
 
     setUserDetail(detail: API.UserInfoV2) {
diff --git a/apps/cMiniApp/src/subpackages/curriculum/mineCurriculumVitae/InnerPage.vue b/apps/cMiniApp/src/subpackages/curriculum/mineCurriculumVitae/InnerPage.vue
index 1106bdf..76dae2c 100644
--- a/apps/cMiniApp/src/subpackages/curriculum/mineCurriculumVitae/InnerPage.vue
+++ b/apps/cMiniApp/src/subpackages/curriculum/mineCurriculumVitae/InnerPage.vue
@@ -1,7 +1,7 @@
 <template>
   <ContentView>
     <nut-noticebar
-      :text="`涓汉绠�鍘嗗凡瀹屽杽${userResumeInfo?.completeRate ?? 0}锛屽畬鍠勭畝鍘嗗彲鎻愬崌褰曠敤鐜嘸"
+      :text="`涓汉绠�鍘嗗凡瀹屽杽${userResumeInfo?.completeRate ?? 0}%锛屽畬鍠勭畝鍘嗗彲鎻愬崌褰曠敤鐜嘸"
       :left-icon="false"
       background="transparent"
       close-mode
@@ -139,11 +139,11 @@
   }
 });
 
+const { userResumeInfo, refetch } = useUserResume();
+
 const jobTag = computed(
   () => userResumeInfo?.value?.userExpectJobs?.map((x) => x.expectJobContent) ?? []
 );
-
-const { userResumeInfo, refetch } = useUserResume();
 
 function goPage(routeName: string) {
   Taro.navigateTo({
diff --git a/packages/constants/apiEnum.ts b/packages/constants/apiEnum.ts
index 849b19f..cc6ab80 100644
--- a/packages/constants/apiEnum.ts
+++ b/packages/constants/apiEnum.ts
@@ -199,6 +199,16 @@
   Female = 20,
 }
 
+/** 鐢ㄦ埛瀹炲悕鏂瑰紡 */
+export enum EnumUserRealMethod {
+  /**涓汉鎵嬫満鍙蜂笁瑕佺礌 */
+  Identity3 = 10,
+  /**閾惰鍗″瑕佺礌 */
+  Identity4 = 20,
+  /**鍒疯劯璁よ瘉 */
+  Face = 30,
+}
+
 /** 鐢ㄦ埛淇℃伅鐘舵�� */
 export enum EnumUserStatus {
   /**姝e父 */
diff --git a/packages/constants/enum.ts b/packages/constants/enum.ts
index 5230345..511e684 100644
--- a/packages/constants/enum.ts
+++ b/packages/constants/enum.ts
@@ -79,17 +79,6 @@
   UserCertificationBankCardCertification = 910,
 }
 
-export enum WxMiniAppEnum {
-  /**
-   * C绔皬绋嬪簭
-   */
-  C绔皬绋嬪簭 = 10,
-  /**
-   * 浜哄崟鍚堜竴灏忕▼搴�
-   */
-  浜哄崟鍚堜竴 = 20,
-}
-
 /**
  * @description AuthType鍗冲皢浣滃簾 鐜板湪鐢‥nterpriseType 鐩墠涓や釜鍊肩浉鍚�
  */
diff --git a/packages/services/apiV2/auth.ts b/packages/services/apiV2/auth.ts
index 38dc7f7..331a423 100644
--- a/packages/services/apiV2/auth.ts
+++ b/packages/services/apiV2/auth.ts
@@ -2,12 +2,12 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
-/** 缁戝畾鎵嬫満鍙� POST /api/user/auth/bindPhoneNumber */
-export async function bindPhoneNumber(
-  body: API.BindPhoneNumberCommand,
+/** 缁戝畾寰俊灏忕▼搴忕敤鎴蜂俊鎭� POST /api/user/auth/bindWxmpUserInfo */
+export async function bindWxmpUserInfo(
+  body: API.BindWxmpUserInfoCommand,
   options?: API.RequestConfig
 ) {
-  return request<boolean>('/api/user/auth/bindPhoneNumber', {
+  return request<API.LoginCommandCallback>('/api/user/auth/bindWxmpUserInfo', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json-patch+json',
@@ -17,12 +17,12 @@
   });
 }
 
-/** 缁戝畾寰俊灏忕▼搴忕敤鎴蜂俊鎭� POST /api/user/auth/bindWxmpUserInfo */
-export async function bindWxmpUserInfo(
-  body: API.BindWxmpUserInfoCommand,
+/** 鏇存崲鎵嬫満鍙� POST /api/user/auth/changePhoneNumber */
+export async function changePhoneNumber(
+  body: API.ChangePhoneNumberCommand,
   options?: API.RequestConfig
 ) {
-  return request<API.LoginCommandCallback>('/api/user/auth/bindWxmpUserInfo', {
+  return request<boolean>('/api/user/auth/changePhoneNumber', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json-patch+json',
@@ -81,9 +81,41 @@
   });
 }
 
+/** 鏌ヨ涓汉鐢ㄦ埛鐧诲綍淇℃伅 GET /api/user/auth/getPersonalLoginInfo */
+export async function getPersonalLoginInfo(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetPersonalLoginInfoParams,
+  options?: API.RequestConfig
+) {
+  return request<API.GetPersonalLoginInfoQueryResult>('/api/user/auth/getPersonalLoginInfo', {
+    method: 'GET',
+    params: {
+      ...params,
+      request: undefined,
+      ...params['request'],
+    },
+    ...(options || {}),
+  });
+}
+
 /** 瀵嗙爜鐧诲綍 POST /api/user/auth/passwordLogin */
 export async function passwordLogin(body: API.PasswordLoginCommand, options?: API.RequestConfig) {
   return request<API.LoginCommandCallback>('/api/user/auth/passwordLogin', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 娉ㄥ唽涓汉璐﹀彿 POST /api/user/auth/registerPersonalUser */
+export async function registerPersonalUser(
+  body: API.RegisterPersonalUserCommand,
+  options?: API.RequestConfig
+) {
+  return request<boolean>('/api/user/auth/registerPersonalUser', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json-patch+json',
@@ -120,6 +152,21 @@
   });
 }
 
+/** 鍙戦�佹洿鎹㈡墜鏈哄彿鐭俊 POST /api/user/auth/updatePhoneNumberVerifyCode */
+export async function updatePhoneNumberVerifyCode(
+  body: API.UpdatePhoneNumberVerifyCodeCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/auth/updatePhoneNumberVerifyCode', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 寰俊灏忕▼搴忕櫥褰� POST /api/user/auth/wxmpLogin */
 export async function wxmpLogin(body: API.WxmpLoginCommand, options?: API.RequestConfig) {
   return request<API.LoginCommandCallback>('/api/user/auth/wxmpLogin', {
diff --git a/packages/services/apiV2/typings.d.ts b/packages/services/apiV2/typings.d.ts
index 1d549f8..a8f052a 100644
--- a/packages/services/apiV2/typings.d.ts
+++ b/packages/services/apiV2/typings.d.ts
@@ -69,6 +69,11 @@
     roleId?: string;
   }
 
+  interface APIgetPersonalLoginInfoParams {
+    /** 鏌ヨ涓汉鐢ㄦ埛鐧诲綍淇℃伅 */
+    request?: GetPersonalLoginInfoQuery;
+  }
+
   interface APIgetResourceFieldsParams {
     /** Id */
     id?: string;
@@ -140,13 +145,6 @@
     request?: GetUserResumeWorkExperienceQuery;
   }
 
-  interface BindPhoneNumberCommand {
-    /** 鎵嬫満鍙风爜 */
-    phoneNumber?: string;
-    /** 楠岃瘉鐮� */
-    verifyCode?: string;
-  }
-
   interface BindWxmpUserInfoCommand {
     /** 鍖呮嫭鏁忔劅鏁版嵁鍦ㄥ唴鐨勫畬鏁寸敤鎴蜂俊鎭殑鍔犲瘑鏁版嵁 */
     encryptedData: string;
@@ -154,6 +152,13 @@
     iv: string;
     /** 鑾峰彇浼氳瘽瀵嗛挜 */
     sessionKey: string;
+  }
+
+  interface ChangePhoneNumberCommand {
+    /** 鎵嬫満鍙风爜 */
+    phoneNumber: string;
+    /** 楠岃瘉鐮� */
+    verifyCode: string;
   }
 
   interface DeleteDictionaryCategoryCommand {
@@ -355,6 +360,15 @@
     Female = 20,
   }
 
+  enum EnumUserRealMethod {
+    /**涓汉鎵嬫満鍙蜂笁瑕佺礌 */
+    Identity3 = 10,
+    /**閾惰鍗″瑕佺礌 */
+    Identity4 = 20,
+    /**鍒疯劯璁よ瘉 */
+    Face = 30,
+  }
+
   enum EnumUserStatus {
     /**姝e父 */
     Normal = 10,
@@ -470,6 +484,24 @@
     /** 閿欒鐮� */
     errorCode?: string;
     data?: GetMenuQueryResult;
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
+  interface FriendlyResultGetPersonalLoginInfoQueryResult {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    data?: GetPersonalLoginInfoQueryResult;
     /** 鎵ц鎴愬姛 */
     success?: boolean;
     /** 閿欒淇℃伅 */
@@ -1251,6 +1283,24 @@
     name?: string;
   }
 
+  type GetPersonalLoginInfoQuery = Record<string, any>;
+
+  interface GetPersonalLoginInfoQueryResult {
+    /** Id */
+    id?: string;
+    /** 濮撳悕 */
+    name?: string;
+    /** 鏄惁瀹炲悕 */
+    isReal?: boolean;
+    realMethod?: EnumUserRealMethod;
+    /** 鎴戠殑鎶ュ悕 */
+    taskCount?: number;
+    /** 宸插綍鐢� */
+    hirePassTaskCount?: number;
+    /** 宸插彇娑� */
+    hireRefuseTaskCount?: number;
+  }
+
   interface GetResourceFieldsQueryResultItem {
     /** 缂栧彿 */
     code?: string;
@@ -1702,6 +1752,10 @@
     accessToken?: string;
     /** 鍒锋柊浠ょ墝 */
     refreshToken?: string;
+    /** 浼氳瘽绉橀挜锛堜粎鐢ㄤ簬寰俊灏忕▼搴忔巿鏉冪櫥褰曪級 */
+    sessionKey?: string;
+    /** 鏄惁宸茬粦瀹氭墜鏈哄彿锛堜粎鐢ㄤ簬寰俊灏忕▼搴忔巿鏉冪櫥褰曪級 */
+    isBindPhoneNumber?: boolean;
   }
 
   interface PagedListQueryPageModel {
@@ -1769,6 +1823,13 @@
     password: string;
     type?: EnumUserType;
     clientType?: EnumClientType;
+  }
+
+  interface RegisterPersonalUserCommand {
+    /** 鎵嬫満鍙风爜 */
+    phoneNumber: string;
+    /** 楠岃瘉鐮� */
+    verifyCode: string;
   }
 
   interface SaveDictionaryCategoryCommand {
@@ -2201,6 +2262,11 @@
 
   type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>;
 
+  interface UpdatePhoneNumberVerifyCodeCommand {
+    /** 鎵嬫満鍙风爜 */
+    phoneNumber: string;
+  }
+
   interface WxmpLoginCommand {
     /** 鐢ㄦ埛鐧诲綍鍑瘉 */
     code: string;
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 016c735..de548bf 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -240,8 +240,8 @@
         specifier: ^6.11.1
         version: 6.11.1
       senin-mini:
-        specifier: ^1.0.10
-        version: 1.0.10(@nutui/icons-vue-taro@0.0.9)(@nutui/nutui-taro@4.3.13)(@tanstack/vue-query@4.35.3)(@tarojs/components@3.6.20)(@tarojs/taro@3.6.20)(axios@1.4.0)(dayjs@1.11.6)(lodash@4.17.21)(vue@3.5.12)
+        specifier: ^1.0.12
+        version: 1.0.12(@nutui/icons-vue-taro@0.0.9)(@nutui/nutui-taro@4.3.13)(@tanstack/vue-query@4.35.3)(@tarojs/components@3.6.20)(@tarojs/taro@3.6.20)(axios@1.4.0)(dayjs@1.11.6)(lodash@4.17.21)(vue@3.5.12)
       senior-request:
         specifier: ^1.0.3
         version: 1.0.3(axios@1.4.0)
@@ -502,8 +502,8 @@
         specifier: ^6.11.1
         version: 6.11.1
       senin-mini:
-        specifier: ^1.0.10
-        version: 1.0.10(@nutui/icons-vue-taro@0.0.9)(@nutui/nutui-taro@4.3.13)(@tanstack/vue-query@4.35.3)(@tarojs/components@3.6.20)(@tarojs/taro@3.6.20)(axios@1.4.0)(dayjs@1.11.6)(lodash@4.17.21)(vue@3.5.12)
+        specifier: ^1.0.12
+        version: 1.0.12(@nutui/icons-vue-taro@0.0.9)(@nutui/nutui-taro@4.3.13)(@tanstack/vue-query@4.35.3)(@tarojs/components@3.6.20)(@tarojs/taro@3.6.20)(axios@1.4.0)(dayjs@1.11.6)(lodash@4.17.21)(vue@3.5.12)
       senior-request:
         specifier: ^1.0.3
         version: 1.0.3(axios@1.4.0)
@@ -18506,8 +18506,8 @@
       - supports-color
     dev: true
 
-  /senin-mini@1.0.10(@nutui/icons-vue-taro@0.0.9)(@nutui/nutui-taro@4.3.13)(@tanstack/vue-query@4.35.3)(@tarojs/components@3.6.20)(@tarojs/taro@3.6.20)(axios@1.4.0)(dayjs@1.11.6)(lodash@4.17.21)(vue@3.5.12):
-    resolution: {integrity: sha512-iGA/p2p1EWU/4R9nmPBkj09wFoBupVaxJReFNRdHovydU4qt0OR3x5pLqI2TGsg+Bn2rvgp4aMCy9Ksb8rhzfw==}
+  /senin-mini@1.0.12(@nutui/icons-vue-taro@0.0.9)(@nutui/nutui-taro@4.3.13)(@tanstack/vue-query@4.35.3)(@tarojs/components@3.6.20)(@tarojs/taro@3.6.20)(axios@1.4.0)(dayjs@1.11.6)(lodash@4.17.21)(vue@3.5.12):
+    resolution: {integrity: sha512-rTRaoP+SCF75NRLuGZkBGIIQOrA38ONbMygvulgJJI+YhhW8zaNqucGO9gPHWcRkCVrhYoug4XzQlFZ7hSQdjw==}
     peerDependencies:
       '@nutui/icons-vue-taro': '*'
       '@nutui/nutui-taro': '*'

--
Gitblit v1.9.1