-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5d3035
commit ef84779
Showing
10 changed files
with
44 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export default { | ||
// complete page | ||
'intl.completePage.title': 'Complete Registration', | ||
'intl.completePage.passwordMatchPrompt': 'The passwords are different', | ||
'intl.completePage.email': 'email', | ||
'intl.completePage.confirmPassword': 'Confirm Password', | ||
|
||
// finish page | ||
'intl.finishPage.autoApproved.tip': 'Thank you for creating your account at {storeName}. Your company account application has been approved', | ||
'intl.finishPage.notAutoApproved.tip': 'Your company account application has been received. Please allow 24 hours for account approval and activation.', | ||
'intl.finishPage.bcSuccess.tip': 'Thank you for creating your account at {storeName}.', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import users from './users' | ||
import global from './global' | ||
import finish from './finish' | ||
|
||
export const en = { | ||
...global, | ||
...users, | ||
...finish, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export default { | ||
// complete page | ||
'intl.completePage.title': '完成注册', | ||
'intl.completePage.passwordMatchPrompt': '密码不同', | ||
'intl.completePage.email': '电子邮件', | ||
'intl.completePage.confirmPassword': '确认密码', | ||
|
||
// finish page | ||
'intl.finishPage.autoApproved.tip': '感谢您在 {storeName} 创建帐户。 您的公司帐户申请已获批准', | ||
'intl.finishPage.notAutoApproved.tip': '您的公司账户申请已收到。 请等待 24 小时来批准和激活帐户。', | ||
'intl.finishPage.bcSuccess.tip': '感谢您在 {storeName} 创建帐户。', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import users from './users' | ||
import global from './global' | ||
import finish from './finish' | ||
|
||
export const zh = { | ||
...global, | ||
...users, | ||
...finish, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
import { B3Request } from '../../request/b3Fetch' | ||
import { RequestType } from '../../request/base' | ||
import { storeHash } from '../../../../utils/basicConfig' | ||
|
||
interface CustomFieldItems { | ||
[key: string]: any | ||
} | ||
|
||
const storeHash = (window as any).b3?.setting?.storeHash || 'rtmh8fqr05' | ||
|
||
export const createBCCompanyUser = (data: CustomFieldItems): CustomFieldItems => B3Request.post('/api/v2/proxy', RequestType.B2BRest, data) | ||
|
||
export const validateBCCompanyExtraFields = (data: CustomFieldItems): CustomFieldItems => B3Request.post('/api/v2/extra-fields/company/validate', RequestType.B2BRest, { ...data, storeHash }) |