...
|
...
|
@@ -473,6 +473,11 @@ http://127.0.0.1:8094/extendstore/?method=extend.trade.userinfo&shop_type=0&uid= |
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"babyInfo": {
|
|
|
"birthDay": "2014-06-01",
|
|
|
"gender": "1",
|
|
|
"nickName": "yaoming"
|
|
|
},
|
|
|
"uid": 12345,
|
|
|
"vip_level":2, //会员等级,取值:0,1,2,3
|
|
|
"cousume_amount": 1248.01, //消费金额
|
...
|
...
|
@@ -522,6 +527,29 @@ http://api-test1.yohops.com:9999/?method=extend.trade.editUserBasic&uid=20364534 |
|
|
}
|
|
|
```
|
|
|
|
|
|
## method=extend.trade.editBabyInfo (修改延展宝宝基本信息)
|
|
|
|
|
|
### 请求参数
|
|
|
| 参数 | 类型 | 是否必填 |描述 | 示例值 |
|
|
|
| :-- | :-- | :-- | :-- | :-- | :-- |
|
|
|
| uid | int | 必填 | 用户ID ||
|
|
|
| nick_name | string | 非必填 | 昵称 | | |
|
|
|
| birthday | string | 非必填 | 生日 | | 1967-10-11 |
|
|
|
| gender | string | 非必填 | 性别 | "1":男;"2":女;"3":未知 | |
|
|
|
|
|
|
http://api-test1.yohops.com:9999/?method=extend.trade.editBabyInfo&uid=20364534&nick_name=Jordan&debug=XYZ
|
|
|
|
|
|
响应成功JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "6d729d4b35f10fc73531210bd7ecff91",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## method=extend.trade.consumelist (延展消费记录)
|
|
|
|
|
|
### 请求参数
|
...
|
...
|
|