Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
ShopERP
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杜龙飞
ShopERP
Commits
81bfa99f
Commit
81bfa99f
authored
Sep 12, 2025
by
PC-20220610JUCQ\Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
<develop>:(ShopERP 端)<无> ShopERP. WebAPI 接口首页页面加载。
parent
15c1d375
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
1 deletions
+52
-1
CoreCms.Net.Services/Order/CoreCmsOrderServices.cs
+20
-1
documentFile/request.data/创建订单-请求报文.txt
+32
-0
documentFile/任务1.png
+0
-0
No files found.
CoreCms.Net.Services/Order/CoreCmsOrderServices.cs
View file @
81bfa99f
...
...
@@ -160,7 +160,26 @@ namespace CoreCms.Net.Services
payStatus
=
0
,
// 未支付
shipStatus
=
0
,
// 未发货
goodsAmount
=
inputParam
.
Items
.
Sum
(
i
=>
i
.
Price
*
i
.
Quantity
),
orderAmount
=
inputParam
.
Items
.
Sum
(
i
=>
i
.
Price
*
i
.
Quantity
)
orderAmount
=
inputParam
.
Items
.
Sum
(
i
=>
i
.
Price
*
i
.
Quantity
),
//配送人姓名
shipName
=
inputParam
.
shipName
,
//配送国家
shipCountryCode
=
inputParam
.
shipCountryCode
,
//配送州/省
shipProvince
=
inputParam
.
shipProvince
,
//配送城市
shipCity
=
inputParam
.
shipCity
,
//配送地址
shipAddress
=
inputParam
.
shipAddress
,
shipAddress2
=
inputParam
.
shipAddress2
,
//配送电话
shipMobile
=
inputParam
.
shipMobile
,
//配送邮箱
shipEmail
=
inputParam
.
shipEmail
,
//配送邮编
shipPostCode
=
inputParam
.
shipPostCode
};
var
orderItems
=
inputParam
.
Items
.
Select
(
item
=>
new
CoreCmsOrderItem
...
...
documentFile/request.data/创建订单-请求报文.txt
0 → 100644
View file @
81bfa99f
{
"UserId": 10001,
"platName": "Amazon",
"platOrderID": "AMZ-20230912-123456",
"shipName": "张明",
"shipAddress": "北京市朝阳区建国路88号",
"shipMobile": "13800138000",
"shipAddress2": "华贸中心3号楼15层",
"shipCountryCode": "CN",
"shipProvince": "北京市",
"shipCity": "北京市",
"shipEmail": "zhangming@example.com",
"shipPostCode": "100025",
"Items": [
{
"GoodsId": 3021,
"Name": "无线蓝牙耳机",
"Price": 299.00,
"Quantity": 2
},
{
"GoodsId": 4456,
"Name": "Type-C充电线",
"Price": 49.90,
"Quantity": 3
}
]
}
\ No newline at end of file
documentFile/任务1.png
deleted
100644 → 0
View file @
15c1d375
474 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment