商城c端前端
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@
|
||||
|
||||
账户以 `olons_admin.hg_app_member` 为主档:
|
||||
|
||||
- 手机号写入 `mobile_cipher`、`mobile_hash` 和 `mobile_mask`。
|
||||
- 手机号完整写入 `mobile`,同一租户内唯一,不再保存加密、哈希或脱敏辅助列。
|
||||
- 登录密码使用 bcrypt 写入 `password_hash`。
|
||||
- 推荐码通过上级会员的 `invite_code` 建立 `parent_id`、`level` 和 `tree`。
|
||||
- 注册事务同时创建 `hg_app_member_profile` 和 CNY `hg_wallet_account`。
|
||||
@@ -63,7 +63,7 @@ Content-Type: application/json
|
||||
"member_id": 9,
|
||||
"member_no": "MABCDEFGHIJKLMNOPQRST",
|
||||
"username": "alice01",
|
||||
"phone_mask": "138****8000",
|
||||
"phone": "13800138000",
|
||||
"invite_code": "EFGH6789",
|
||||
"token": "...",
|
||||
"token_type": "Bearer",
|
||||
|
||||
@@ -195,7 +195,7 @@ Content-Type: application/json
|
||||
"member_id": 9,
|
||||
"member_no": "MABCDEFGHIJKLMNOPQRST",
|
||||
"username": "alice01",
|
||||
"phone_mask": "138****8000",
|
||||
"phone": "13800138000",
|
||||
"invite_code": "EFGH6789",
|
||||
"token": "random-base64url-token",
|
||||
"token_type": "Bearer",
|
||||
@@ -263,7 +263,7 @@ GET /v1/me
|
||||
"member_id": 9,
|
||||
"member_no": "MABCDEFGHIJKLMNOPQRST",
|
||||
"username": "alice01",
|
||||
"phone_mask": "138****8000",
|
||||
"phone": "13800138000",
|
||||
"avatar_url": "",
|
||||
"invite_code": "EFGH6789",
|
||||
"level": {
|
||||
|
||||
Reference in New Issue
Block a user