|  |  |  | 
|---|
|  |  |  | refreshToken?: Nullable<string>; | 
|---|
|  |  |  | userDetail?: Nullable<API.GetPersonalLoginInfoQueryResult>; | 
|---|
|  |  |  | firstGetUserDetail?: boolean; | 
|---|
|  |  |  | firstLaunch?: boolean; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | locationCity?: string; | 
|---|
|  |  |  | locationProvince?: string; | 
|---|
|  |  |  | 
|---|
|  |  |  | refreshToken: userInfo?.refreshToken ?? '', | 
|---|
|  |  |  | userDetail: userDetail, | 
|---|
|  |  |  | firstGetUserDetail: true, | 
|---|
|  |  |  | firstLaunch: true, | 
|---|
|  |  |  | locationCity: storageLocation?.city ?? '北京市', | 
|---|
|  |  |  | locationProvince: storageLocation?.province ?? '北京', | 
|---|
|  |  |  | firstSetLocation: true, | 
|---|
|  |  |  | 
|---|
|  |  |  | let res = await authServices.passwordLogin( | 
|---|
|  |  |  | { | 
|---|
|  |  |  | userName: params.userName, | 
|---|
|  |  |  | password: md5Encrypt(params.password), | 
|---|
|  |  |  | // password: md5Encrypt(params.password), | 
|---|
|  |  |  | password: params.password, | 
|---|
|  |  |  | type: AppLocalConfig.userType, | 
|---|
|  |  |  | clientType: AppLocalConfig.clientType, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | 
|---|
|  |  |  | // } | 
|---|
|  |  |  | LocationUtils.currentProvinceName = provinceName; | 
|---|
|  |  |  | }, | 
|---|
|  |  |  |  | 
|---|
|  |  |  | setFirstLaunch(firstLaunch: boolean) { | 
|---|
|  |  |  | this.firstLaunch = firstLaunch; | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|