多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### WeEngine Android、IOS OrderList api * 地址栏 address * 商品栏 goods_list、total、goodsprice * 优惠券 couponcount (小于或者等于0不显示) * 商品小记 shopgoodsprice * 会员优惠 discountprice(小于或者等于0不显示) * 秒杀优惠 seckill_price(小于或者等于0不显示) * 重复购买优惠 buyagainprice(小于或者等于0不显示) * 运费 dispatch_price ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.order.create *string:openid=默认值#openid *string:id=默认值#商品ID *string:optionid=默认值#规格ID *string:total=默认值#数量 <<< success { "status": 1, "result": { "address": { "id": "348", "uniacid": "4", "openid": "wap_user_4_13053237223", "realname": "1234567890-", "mobile": "13098766789", "province": "内蒙古自治区", "city": "呼和浩特市", "area": "回民区", "address": "1234567890", "isdefault": "1", "zipcode": "", "deleted": "0", "street": "", "datavalue": "", "streetdatavalue": "" }, "goods_list": [ { "shopname": "家易购", "goods": [ { "goodsid": "644", "type": "1", "title": "心理想防臭抗菌成人袜【德国纳米抗菌技术】六双礼盒装", "weight": "0.00", "issendfree": "0", "isnodiscount": "0", "ispresell": "0", "presellprice": "0.00", "thumb": "https://127.0.0.1/attachment/images/4/2017/10/Syb777JsSHhmMm7M3hjJN77bHNmZSZ.jpg", "marketprice": "128.00", "liveprice": "0.00", "islive": "0", "storeids": "", "isverify": "0", "deduct": "0.00", "hasoption": "0", "preselltimeend": "0", "presellsendstatrttime": "1507617540", "presellsendtime": "0", "presellsendtype": "0", "manydeduct": "0", "virtual": "0", "maxbuy": "0", "usermaxbuy": "0", "discounts": "{\"type\":\"0\",\"default\":\"\",\"default_pay\":\"\"}", "stock": "872", "deduct2": "0.00", "showlevels": "", "ednum": "0", "edmoney": "0.00", "edareas": "", "edareas_code": "", "unite_total": "0", "diyformtype": "0", "diyformid": "0", "diymode": "0", "dispatchtype": "0", "dispatchid": "0", "dispatchprice": "0.00", "cates": "", "minbuy": "0", "isdiscount": "0", "isdiscount_time": "1507617540", "isdiscount_discounts": "{\"type\":0,\"default\":{\"option0\":\"\"}}", "isfullback": "0", "virtualsend": "0", "invoice": "0", "needfollow": "0", "followtip": "", "followurl": "", "merchid": "0", "checked": "0", "merchsale": "0", "buyagain": "0.00", "buyagain_islong": "0", "buyagain_condition": "0", "buyagain_sale": "0", "seckillinfo": false, "total": 1, "optionid": 0, "is_task_goods": 0, "totalmaxbuy": "872", "ggprice": 12.8, "unitprice": 12.8, "dflag": 1, "taskdiscountprice": 0, "lotterydiscountprice": 0, "discountprice": 115.2, "isdiscountprice": 0, "discounttype": 2, "isdiscountunitprice": 0, "discountunitprice": 115.2 } ] } ], "total": 1, "goodsprice": 128, "couponcount": 14, "shopgoodsprice": 128, "discountprice": 115.2, "seckill_price": 0, "buyagainprice": 0, } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~