鎻愪氦瑷傚柈鎺ュ彛鏁告摎鎻忚堪
5.1鐛插彇瑷傚柈鎻愪氦淇℃伅鎺ュ彛
- 璜嬫眰璺緫锛歝om/smallprogapi/Order/GetSubmitModel
- 璜嬫眰鍙冩暩锛�
?
鍙冩暩鍚嶇ū | 蹇呭~ | 鍙冩暩鍊艰鏄� | 鏍煎紡瑕佹眰 |
openId | 鏄� | OpenID | String |
fromPage | 鏄� | 瑷傚柈椤炲瀷锛�0=璩肩墿杌婃彁浜わ紝1=绔嬪嵆璩艰卜鎻愪氦锛� | String |
productSku | 鏄� | SKU瀛楃涓诧紝鐢ㄩ€楄櫉闅旈枊 | String |
cartItemIds | 鍚� | 璩肩墿杌奍DS | |
countDownId | 鍚� | 闄愭檪璩兼椿鍕曠法铏� | Int |
buyAmount | 鏄� | 璩艰卜鏁搁噺 | Int |
shipAddressId | 鍚� | 鏀惰波鍦板潃绶ㄨ櫉 | Int |
couponIds | 鍚� | 閬告搰鐨勫劒鎯犲埜ids | String |
isStore | 鍚� | 鏄惁闁€搴楄▊鍠紙闁€搴楄▊鍠偝鍊紅rue,鍏朵粬瑷傚柈涓嶇敤绠★級 | Bool |
productType | 鍚� | 鏄惁铏涙摤瑷傚柈锛堣櫅鎿▊鍠偝鍊�1锛屽叾浠栬▊鍠笉鐢ㄧ锛� | Int |
shopBranchId | 鍚� | 闁€搴桰D锛堥潪闁€搴楄▊鍠笉鐢ㄧ锛� |
?
瑷傚柈椤炲瀷瑾槑?fromPage
鍊� | 瑾槑 | 鍌欐敞 |
1 | signbuy绔嬪嵆璩艰卜 | 鑸�?productSku銆乥uyAmount?鎼厤浣跨敤 |
0 | 璩肩墿杌� | 鑸�?cartItemIds鎼厤浣跨敤 |
- 杩斿洖鍊艰鏄庯細Json鏍煎紡
?
杩斿洖绲愭灉锛�
"address":?{ "Id":?125, "ShipTo":?"test", "Phone":?"12345677654", "Address":?"婀栧崡鐪�?闀锋矙甯�?鑺欒搲鍗€?鏂囪棟璺閬�?澶у妵闄�" }, "Success":?"true", "InvoiceContext":?[ { "Id":?4, "Name":?"鐧肩エ3" }, { "Id":?5, "Name":?"鐧肩エ4" } ], "products":?[ { "shopId":?1, "ShopName":?"瀹樻柟鑷嚐搴�", "Freight":?0, "FreeFreight":?90, "CartItemModels":?[ { "skuId":?"700_17_20_15", "size":?"鎰涚鐨勭1", "color":?"绱呰壊", "version":?"100", "id":?700, "imgUrl":?"http://localhost:12090//Storage/Shop/1/Products/700/1_100.png", "shopName":?null, "name":?"娓│鍒锋柊html鏌愪簺瀛楁", "price":?75, "count":?4, "shopId":?1, "vshopId":?0, "IsSelf":?true, "productCode":?"1515456", "unit":?"鍊�", "UserCoupons":?null, "isDis":?false } ], "UserCoupons":?[], "FullDiscount":?20, "ShopTotal":?280, "ShopTotalWithoutFreight":?280, "UserBonus":?null, "BaseCoupons":?null, "OneCoupons":?null, "freightProductGroup":?null, "IsFreeFreight":?true, "VshopId":?6, "ExistShopBranch":?false } ], "IntegralPerMoney":?280, "UserIntegrals":?280, "TotalAmount":?280, "Freight":?0, "orderAmount":?280, "IsCashOnDelivery":?true } |
?
?
杩斿洖绲愭灉鍙冩暩瑾槑锛�
?
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
鐙€鎱� | Status | String | 鍚� | OK|NO |
瑷傚柈淇℃伅 | Data | Json鍒楄〃 | 鍚� |
瑷傚柈淇℃伅?Data
Address榛樿獚鏀惰波淇℃伅瑾槑锛�
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
绶ㄨ櫉 | ShippingId | Int | 鍚� | |
鍗€鍩熺法铏� | RegionId | int | 鍚� | |
鐢ㄦ埗绶ㄨ櫉 | UserId | Int | 鍚� | |
鏀惰波浜� | ShipTo | string | 鍚� | |
鍦板潃 | Address | String | 鏄� | |
瀹屾暣鍦板潃 | FullAddress | String | 鍚� | |
閮电法 | Zipcode | string | 鏄� | |
闆昏┍ | TelPhone | string | 鏄� | |
鎵嬫 | CellPhone | string | 鏄� | |
鏄惁榛樿獚鍦板潃 | IsDefault | bool | 鏄� | |
缍撶矾搴� | LatLng | string | 鏄� | |
瀹屾暣鍗€鍩熺法铏熼泦 | FullRegionPath | string | 鏄� | |
鍗€鍩熷畾浣� | RegionLocation | string | 鏄� |
?
ProductItems?鍟嗗搧淇℃伅瑾槑锛�
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
瑕忔牸绶ㄨ櫉 | SkuId | int | 鍚� | |
鍟嗗搧绶ㄨ櫉 | ProductId | Int | 鍚� | |
鍟嗗绶ㄧ⒓ | SKU | string | 鍚� | |
鍟嗗搧鍚嶇ū | Name | String | 鍚� | |
鏈冨摗鍍� | MemberPrice | String | 鍚� | |
鐣ョ府鍦�40 | ThumbnailUrl40 | string | 鍚� | |
鐣ョ府鍦�60 | ThumbnailUrl60 | string | 鍚� | |
鐣ョ府鍦�100 | ThumbnailUrl100 | string | 鍚� | |
鐣ョ府鍦�180 | ThumbnailUrl180 | string | 鏄� | |
閲嶉噺 | Weight | decimal | 鏄� | |
瑕忔牸鏂囨湰 | SkuContent | string | 鏄� | |
鏁搁噺 | Quantity | int | 鏄� | |
淇冮姺绶ㄨ櫉 | PromotionId | int | 鏄� | |
淇冮姺椤炲瀷 | PromoteType | int | 鏄� | |
淇冮姺鍚嶇ū | PromotionName | string | 鏄� | |
淇冮姺鍚庣殑鍍规牸 | AdjustedPrice | decimal | 鏄� | |
鐧艰波鏁搁噺锛堝寘鎷績閵烽€佺殑锛� | ShippQuantity | int | 鏄� | |
鏄惁閫佺Ξ鍝� | IsSendGift | bool | 鏄� | |
鏄惁鍙冭垏瑷傚柈婊块娓涗績閵锋椿鍕� | IsJoinReducePromotion | bool | 鏄� | |
鏄惁鍙冭垏瑷傚柈婊块閫佺⿳鍒嗘椿鍕� | IsJoinSendTimesPointPromotion | bool | 鏄� | |
鏄惁鍙冭垏瑷傚柈婊块鍏嶉亱璨绘椿鍕� | IsJoinFreeFreightPromotion | bool | 鏄� | |
璐堥€佺Ξ鍝� | SendGifts | JSON | 鏄� | 灏忕▼搴忎笉鏀寔 |
灏忚▓ | SubTotal | decimal | 鏄� | |
鏄惁鍏嶉兊 | IsfreeShipping | bool | 鏄� | |
閬嬭不妯℃澘绶ㄨ櫉 | ShippingTemplateId | int | 鏄� | |
鏄惁鏀寔闁€搴楄嚜鎻� | HasStore | bool | 鏄� | |
鏄惁鏈夋晥 | IsValid | bool | 鏄� | |
鏄惁鎵嬫灏堜韩鍍� | IsMobileExclusive | bool | 鏄� | |
鏄惁鏈夎冻澶犵殑搴瓨 | HasEnoughStock | bool | 鏄� | |
渚涙噳鍟嗙法铏� | SupplierId | int | 鏄� | |
渚涙噳鍟嗗悕绋� | SupplierName | string | 鏄� | |
鎴愭湰鍍� | CostPrice | decimal | 鏄� | |
闁€搴楃法铏� | StoreId | int | 鏄� | |
闁€搴楀悕绋� | StoreName | string | 鏄� | |
鏄惁璺ㄥ鍟嗗搧 | IsCrossborder | bool | 鏄� |
0 Comments.