🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 添加地址 >接口说明 添加用户地址 >接口请求说明 HTTP请求格式: application/json >接口参数说明 ~~~[api] post:/api/miniapp/addresses/create?sessionId= *string:realName#名称 *string:cellphone#手机号码 *string:locationName#定位地址名称 *string:address#详细地址 *double:lat#纬度 *double:lng#经度 <<< success { "id": "4028e7ad60d946730160da2fe4ea0009", "realName": "迷惑的牛豆", "gender": 0, "address": "B座6楼第十大道8336门市", "cellphone": "15632755525", "locationName": "明珠商贸城", "lat": 38.339208, "lng": 116.810214, "adcode": null, "areaName": null, "genderLabel": "保密", "defaultFrom": false, "defaultTo": false } <<< error { "path": "/api/miniapp/addresses/create", "message": "Session不存在或已失效!", "status": 401, "timestamp": 1515489085888 } ~~~ >接口请求示例 ~~~ { "realName":"迷惑的牛豆", "cellphone":"15632755525", "locationName":"明珠商贸城", "address":"B座6楼第十大道8336门市", "lat":38.339208000000, "lng":116.810214000000 } ~~~