ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[TOC=3,3] ### 登录接口 ~~~[api] post:/index.php?ctl=Index&met=checkApp&typ=json *string:user_name#手机号 *string:user_code#验证码 string:auto_login=true#true <<< success { "cmd_id": 100, "status": 200, "msg": "success", "data": { "user_id": "10032", "user_name": "", "password": null, "user_state": "0", "action_time": "1521514240", "action_ip": "114.95.158.198", "session_id": "5ab07700eaa29", "shop_id": "2", "id": "10032", "result": 1, "mobile": "", "user_no_mobile": null, "k": "ASEBcwRtDXMEXlA7V2QBOVMxADBSOwloVWI=", "cookie": "UnJcLgFoXCICWAdsDzwFPQBiUGBSOwdmAzQCKQYxAjtQZF01BGYJWgBsAWdUPgM2UyYGdVZnVmtZLANRCDUGM1I6XG0=" } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ [TOC=2,2] ### 是否设置密码 ~~~[api] post:/index.php?ctl=Buyer_User&met=getUserBase&typ=json *string:k#key *string:u#u <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": {} } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 用户反馈 ~~~[api] post:/index.php?ctl=Feed&met=addFeed&typ=json *string:k#key *string:u#u *string:feed_desc#反馈内容 <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": {} } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 收藏列表 ~~~[api] post:/index.php?ctl=Buyer_Favorites&met=favoritesGoods&typ=json *string:listRows=10#listRows *string:firstRow=0#firstRow *string:u#u *string:k#k <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 1, "totalsize": "1", "records": "1", "items": [ { "favorites_goods_id": "39", "user_id": "10032", "goods_id": "84", "favorites_goods_time": "2018-04-10 16:12:34", "id": "39", "detail": { "goods_id": "84", "common_id": "75", "shop_id": "2", "shop_name": "爱咋咋地", "goods_name": "wzry", "goods_promotion_tips": "", "cat_id": "1", "brand_id": "0", "goods_spec": { "i_58": { "5": "纯黑", "8": "订单" } }, "goods_price": "0.10", "goods_market_price": "4.00", "goods_stock": "97", "goods_alarm": "0", "goods_code": "", "goods_barcode": "", "goods_is_recommend": "2", "goods_click": "54", "goods_salenum": "11", "goods_collect": "1", "goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180331/1522464362304055.jpg!500x500.jpg", "color_id": "5", "goods_evaluation_good_star": "4", "goods_evaluation_count": "4", "goods_max_sale": "0", "goods_is_shelves": "1", "goods_recommended_price": "0.00", "goods_recommended_min_price": "0.00", "goods_recommended_max_price": "0.00", "goods_parent_id": "0", "id": "84" } } ] } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 浏览记录 ~~~[api] post:/index.php?ctl=Buyer_Favorites&met=footprintwap&typ=json *string:page=10#page *string:curpage=1#curpage *string:u#u *string:k#k <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 2, "totalsize": "12", "records": "12", "items": [ { "footprint_id": "474", "user_id": "10032", "common_id": "75", "footprint_time": "2018-04-10 16:12:29", "footprint_date": "2018-04-10", "id": "474" } ], "arr": { "items": [ { "common_id": "75", "common_name": "wzry", "common_promotion_tips": "", "cat_id": "1", "cat_name": "生活用品", "shop_id": "2", "shop_name": "爱咋咋地", "shop_cat_id": ",,", "shop_goods_cat_id": "0", "goods_id": "84", "shop_self_support": "0", "shop_status": "3", "common_property": "", "common_spec_name": "{\"1\":\"\\u989c\\u8272\",\"3\":\"\\u6d4b\\u8bd5\\u6dfb\\u52a01\"}", "common_spec_value": "{\"1\":{\"5\":\"\\u7eaf\\u9ed1\",\"6\":\"\\u767d\",\"7\":\"\\u9b45\\u7ea2\"},\"3\":{\"8\":\"\\u8ba2\\u5355\"}}", "brand_id": "0", "brand_name": "", "type_id": "21", "common_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180331/1522464362304055.jpg!500x500.jpg", "common_packing_list": "", "common_service": "服务说明书,又名服务指南。是服务行业、社会服务机构向用户介绍自己所提供服务的性质、对象、收费情况及申请或使用这种服务的办法、条件等而使用的说明书。\r\n", "common_state": "1", "common_state_remark": "", "common_verify": "1", "common_verify_remark": "", "common_add_time": "2018-04-03 14:02:37", "common_sell_time": "2018-04-03 14:02:37", "common_price": "0.10", "common_market_price": "4.00", "common_cost_price": "4.00", "common_stock": "652", "common_limit": "0", "common_alarm": "2", "common_code": "10", "common_platform_code": "0", "common_cubage": "1.00", "common_collect": "1", "common_evaluate": "4", "common_salenum": "11", "common_invoices": "1", "common_is_return": "0", "common_formatid_top": "0", "common_formatid_bottom": "0", "common_is_recommend": "2", "common_is_virtual": "0", "common_virtual_date": "0000-00-00", "common_virtual_refund": "0", "transport_type_id": "0", "common_location": "", "common_is_tuan": "0", "common_is_xian": "1", "common_is_jia": "0", "common_shop_contract_1": "0", "common_shop_contract_2": "0", "common_shop_contract_3": "1", "common_shop_contract_4": "1", "common_shop_contract_5": "0", "common_shop_contract_6": "0", "cps_rate": "0", "second_cps_rate": "0", "third_cps_rate": "0", "common_cps_rate": "0.00", "common_second_cps_rate": "0.00", "common_third_cps_rate": "0.00", "common_is_directseller": "0", "product_lock_flag": "0", "product_agent_id": "0", "district_id": "38", "supply_shop_id": "0", "product_is_allow_update": "1", "product_is_allow_price": "1", "product_is_behalf_delivery": "1", "common_parent_id": "0", "goods_recommended_min_price": "0.00", "goods_recommended_max_price": "0.00", "product_distributor_flag": "0", "common_distributor_description": null, "common_distributor_flag": "0", "common_cps_commission": "0.00", "common_goods_from": "1", "transport_area_id": "2" } ] }, "hasmore": true } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 清空浏览记录 ~~~[api] post:/index.php?ctl=Buyer_Favorites&met=delFootPrint&typ=json *string:u#u *string:k#k <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": {} } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~