鎻愪氦瑷傚柈鎺ュ彛鏁告摎鎻忚堪

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 鏄�
鏇村
  • 瑭叉棩蹇楃敱 浜�2020骞�05鏈�30鏃ョ櫦琛ㄥ湪 鏈垎椤� 鍒嗛涓嬶紝 浣犲彲浠�鐧艰〃瑭曡珫锛屽苟鍦ㄤ繚鐣�鍘熸枃鍦板潃 鍙婁綔鑰呯殑鎯呮硜涓�寮曠敤鍒颁綘鐨勭恫绔欐垨鍗氬銆�
  • 鏈枃閺堟帴: 鎻愪氦瑷傚柈鎺ュ彛鏁告摎鎻忚堪 | 骞姪淇℃伅-鍕曞ぉ鏁告摎
  • 鐗堟瑠鎵€鏈�: 骞姪淇℃伅-鍕曞ぉ鏁告摎-杞夎級璜嬫鏄庡嚭铏�
  • 銆愪笂涓€绡囥€� 銆愪笅涓€绡囥€�

    0 Comments.

    鐧艰〃瑭曡珫