鎻愪氦瑷傚柈鎺ュ彛鏁�(sh霉)鎿�(j霉)鎻忚堪

5.1鐛插彇瑷傚柈鎻愪氦淇℃伅鎺ュ彛

  • 璜嬫眰璺緫锛歝om/smallprogapi/Order/GetSubmitModel

 

  • 璜嬫眰鍙冩暩(sh霉)锛�

?

鍙冩暩(sh霉)鍚嶇ū 蹇呭~ 鍙冩暩(sh霉)鍊艰鏄� 鏍煎紡瑕佹眰
openId 鏄� OpenID String
fromPage 鏄� 瑷傚柈椤炲瀷锛�0=璩肩墿杌婃彁浜わ紝1=绔嬪嵆璩艰卜鎻愪氦锛� String
productSku 鏄� SKU瀛楃涓诧紝鐢ㄩ€楄櫉闅旈枊 String
cartItemIds 鍚� 璩肩墿杌奍DS
countDownId 鍚� 闄愭檪璩兼椿鍕曠法铏� Int
buyAmount 鏄� 璩艰卜鏁�(sh霉)閲� Int
shipAddressId 鍚� 鏀惰波鍦板潃绶ㄨ櫉 Int
couponIds 鍚� 閬告搰鐨勫劒(y艒u)鎯犲埜ids String
isStore 鍚� 鏄惁闁€搴楄▊鍠紙闁€搴楄▊鍠偝鍊紅rue,鍏朵粬瑷傚柈涓嶇敤绠★級 Bool
productType 鍚� 鏄惁铏涙摤瑷傚柈锛堣櫅鎿▊鍠偝鍊�1锛屽叾浠栬▊鍠笉鐢ㄧ锛� Int
shopBranchId 鍚� 闁€搴桰D锛堥潪闁€搴楄▊鍠笉鐢ㄧ锛�

?

瑷傚柈椤炲瀷瑾槑?fromPage

鍊� 瑾槑 鍌欐敞
1 signbuy绔嬪嵆璩艰卜 鑸�?productSku銆乥uyAmount?鎼厤浣跨敤
0 璩肩墿杌� 鑸�?cartItemIds鎼厤浣跨敤

 

  • 杩斿洖鍊艰鏄庯細Json鏍煎紡

?

杩斿洖绲�(ji茅)鏋滐細


"?{

"address":?{

"Id":?125,

"ShipTo":?"test",

"Phone":?"12345677654",

"Address":?"婀栧崡鐪�?闀锋矙甯�?鑺欒搲鍗€(q奴)?鏂囪棟璺閬�?澶у妵闄�"

},

"Success":?"true",

"InvoiceContext":?[

{

"Id":?4,

"Name":?"鐧�(f膩)绁�3"

},

{

"Id":?5,

"Name":?"鐧�(f膩)绁�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

}

?

?

杩斿洖绲�(ji茅)鏋滃弮鏁�(sh霉)瑾槑锛�

?

瀛楁鍚嶇ū 瀛楁绶ㄧ⒓ 鏁�(sh霉)鎿�(j霉)椤炲瀷 鏄惁鍙┖ 鍌欐敞
鐙€鎱�(t脿i) Status String 鍚� OK|NO
瑷傚柈淇℃伅 Data Json鍒楄〃 鍚�

 

瑷傚柈淇℃伅?Data

Address榛樿獚(r猫n)鏀惰波淇℃伅瑾槑锛�

瀛楁鍚嶇ū 瀛楁绶ㄧ⒓ 鏁�(sh霉)鎿�(j霉)椤炲瀷 鏄惁鍙┖ 鍌欐敞
绶ㄨ櫉 ShippingId Int 鍚�
鍗€(q奴)鍩熺法铏� RegionId int 鍚�
鐢ㄦ埗绶ㄨ櫉 UserId Int 鍚�
鏀惰波浜� ShipTo string 鍚�
鍦板潃 Address String 鏄�
瀹屾暣鍦板潃 FullAddress String 鍚�
閮电法 Zipcode string 鏄�
闆昏┍ TelPhone string 鏄�
鎵嬫(j墨) CellPhone string 鏄�
鏄惁榛樿獚(r猫n)鍦板潃 IsDefault bool 鏄�
缍�(j墨ng)绶害 LatLng string 鏄�
瀹屾暣鍗€(q奴)鍩熺法铏熼泦 FullRegionPath string 鏄�
鍗€(q奴)鍩熷畾浣� RegionLocation string 鏄�

?

ProductItems?鍟嗗搧淇℃伅瑾槑锛�

瀛楁鍚嶇ū 瀛楁绶ㄧ⒓ 鏁�(sh霉)鎿�(j霉)椤炲瀷 鏄惁鍙┖ 鍌欐敞
瑕�(gu墨)鏍肩法铏� SkuId int 鍚�
鍟嗗搧绶ㄨ櫉 ProductId Int 鍚�
鍟嗗绶ㄧ⒓ SKU string 鍚�
鍟嗗搧鍚嶇ū Name String 鍚�
鏈冨摗鍍� MemberPrice String 鍚�
鐣ョ府鍦�40 ThumbnailUrl40 string 鍚�
鐣ョ府鍦�60 ThumbnailUrl60 string 鍚�
鐣ョ府鍦�100 ThumbnailUrl100 string 鍚�
鐣ョ府鍦�180 ThumbnailUrl180 string 鏄�
閲嶉噺 Weight decimal 鏄�
瑕�(gu墨)鏍兼枃鏈� SkuContent string 鏄�
鏁�(sh霉)閲� Quantity int 鏄�
淇冮姺绶ㄨ櫉 PromotionId int 鏄�
淇冮姺椤炲瀷 PromoteType int 鏄�
淇冮姺鍚嶇ū PromotionName string 鏄�
淇冮姺鍚庣殑鍍规牸 AdjustedPrice decimal 鏄�
鐧�(f膩)璨ㄦ暩(sh霉)閲忥紙鍖呮嫭淇冮姺閫佺殑锛� ShippQuantity int 鏄�
鏄惁閫佺Ξ鍝� IsSendGift bool 鏄�
鏄惁鍙冭垏瑷傚柈婊块娓涗績閵锋椿鍕� IsJoinReducePromotion bool 鏄�
鏄惁鍙冭垏瑷傚柈婊块閫佺⿳鍒嗘椿鍕� IsJoinSendTimesPointPromotion bool 鏄�
鏄惁鍙冭垏瑷傚柈婊块鍏嶉亱(y霉n)璨�(f猫i)娲诲嫊 IsJoinFreeFreightPromotion bool 鏄�
璐堥€佺Ξ鍝� SendGifts JSON 鏄� 灏忕▼搴忎笉鏀寔
灏忚▓ SubTotal decimal 鏄�
鏄惁鍏嶉兊 IsfreeShipping bool 鏄�
閬�(y霉n)璨�(f猫i)妯℃澘绶ㄨ櫉 ShippingTemplateId int 鏄�
鏄惁鏀寔闁€搴楄嚜鎻� HasStore bool 鏄�
鏄惁鏈夋晥 IsValid bool 鏄�
鏄惁鎵嬫(j墨)灏堜韩鍍� IsMobileExclusive bool 鏄�
鏄惁鏈夎冻澶犵殑搴瓨 HasEnoughStock bool 鏄�
渚涙噳(y墨ng)鍟嗙法铏� SupplierId int 鏄�
渚涙噳(y墨ng)鍟嗗悕绋� SupplierName string 鏄�
鎴愭湰鍍� CostPrice decimal 鏄�
闁€搴楃法铏� StoreId int 鏄�
闁€搴楀悕绋� StoreName string 鏄�
鏄惁璺ㄥ鍟嗗搧 IsCrossborder bool 鏄�
鏇村
  • 瑭叉棩蹇楃敱 浜�2020骞�05鏈�30鏃ョ櫦(f膩)琛ㄥ湪 鏈垎椤� 鍒嗛涓嬶紝 浣犲彲浠�鐧�(f膩)琛ㄨ⿻璜�锛屽苟鍦ㄤ繚鐣�鍘熸枃鍦板潃 鍙婁綔鑰呯殑鎯呮硜涓�寮曠敤鍒颁綘鐨勭恫(w菐ng)绔欐垨鍗氬銆�
  • 鏈枃閺堟帴: 鎻愪氦瑷傚柈鎺ュ彛鏁�(sh霉)鎿�(j霉)鎻忚堪 | 骞姪淇℃伅-鍕曞ぉ鏁�(sh霉)鎿�(j霉)
  • 鐗堟瑠(qu谩n)鎵€鏈�: 骞姪淇℃伅-鍕曞ぉ鏁�(sh霉)鎿�(j霉)-杞�(zhu菐n)杓夎珛妯�(bi膩o)鏄庡嚭铏�
  • 銆愪笂涓€绡囥€� 銆愪笅涓€绡囥€�

    0 Comments.

    鐧�(f膩)琛ㄨ⿻璜�