💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
* 获取收货地址列表 ~~~[api] get:/index.php?ctl=Buyer_User&met=address&typ=json string:k#key int:u#用户id <<< success { "cmd_id":-140, "status":200, "msg":"success", "data":{ "address_list":{ "5": { "user_address_id":"5", "user_id":"10014", "user_address_contact":"adwq", "user_address_province_id":"9", "user_address_city_id":"152", "user_address_area_id":"1892", "user_address_area":"\u4e0a\u6d77 \u95f5\u884c\u533a \u53e4\u7f8e\u8857\u9053", "user_address_address":"aaaaaaaaaaaaa", "user_address_phone":"15222222222", "user_address_company":"", "user_address_default":"0", "user_address_time":"2017-04-26 10:50:54", "id":"5", "address_info":"\u4e0a\u6d77 \u95f5\u884c\u533a \u53e4\u7f8e\u8857\u9053" } } } } <<< error ~~~ * 添加收货地址 ~~~[api] get:/index.php?ctl=Buyer_User&met=addAddressInfo&typ=json string:k#key int:u#用户id user_address_contact#收货人姓名 user_address_phone#联系手机 province_id#所属省id city_id#城市Id area_id#地区id user_address_address#详细地址 address_area#地区选择 user_address_default#默认地址 <<< success {"cmd_id":-140,"status":200,"msg":"success","data":{}} <<< error {"cmd_id":-140,"status":250,"msg":"error","data":{}} ~~~ * 编辑收货地址 ~~~[api] get:/index.php?ctl=Buyer_User&met=address&act=edit&typ=json string:k#key int:u#用户id id#收货地址id <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "address_list": { "user_address_id": "402", "user_id": "10014", "user_address_contact": "1313", "user_address_province_id": "9", "user_address_city_id": "151", "user_address_area_id": "1886", "user_address_area": "上海 杨浦区 新江湾城街道 ", "user_address_address": "12313212313", "user_address_phone": "15212212321", "user_address_company": "", "user_address_default": "1", "user_address_time": "2017-11-15 11:39:20", "id": "402" } } } <<< error ~~~ * 保存收货地址 ~~~[api] get:/index.php?ctl=Buyer_User&met=editAddressInfo&typ=json string:k#key int:u#用户id user_address_contact#收货人姓名 user_address_phone#联系手机 province_id#所属省id city_id#城市Id area_id#地区id user_address_address#详细地址 address_area#地区选择 user_address_default#默认地址 user_address_id#收货地址id <<< success {"cmd_id":-140,"status":200,"msg":"success","data":{}} <<< error {"cmd_id":-140,"status":250,"msg":"error","data":{}} ~~~ * 删除收货地址 ~~~[api] get:/index.php?ctl=Buyer_User&met=delAddress&typ=json int:id#收货地址id string:k#key int:u#用户id <<< success {"cmd_id":-140,"status":200,"msg":"success","data":{}} <<< error {"cmd_id":-140,"status":250,"msg":"error","data":{}} ~~~ * 收货地址地址选择 ~~~[api] get:/index.php?ctl=Base_District&met=district&typ=json&pid=0 int:pid=0#地区id <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "items": [ { "district_id": "1", "district_name": "北京", "district_parent_id": "0", "district_displayorder": "0", "district_region": "华北", "district_is_leaf": "1", "district_is_level": "1", "id": "1", "parent_id": "0", "name": "北京", "level": 1, "district_level": 1, "district_icon": "ui-icon-star", "expanded": false, "loaded": false, "is_leaf": false }, ... ] } } <<< error ~~~