Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Third.Bestseller.V4.5
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶然
Kivii.Third.Bestseller.V4.5
Commits
ae82b496
Commit
ae82b496
authored
Oct 22, 2024
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
ef7ae48c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
BestsellerBase.cs
Src/Entities/BestsellerBase.cs
+6
-0
OrderExtension.cs
Src/Extensions/OrderExtension.cs
+3
-3
AssemblyInfo.cs
Src/Properties/AssemblyInfo.cs
+2
-2
No files found.
Src/Entities/BestsellerBase.cs
View file @
ae82b496
...
...
@@ -62,6 +62,12 @@ namespace Kivii.Third.Bestseller.Entities
rtns
.
Metadata
[
"PayerContactAddress"
]
=
order
.
PAYER_ORG_ADDRESS
;
rtns
.
Metadata
[
"SampleDescriptionEx"
]
=
order
.
MAT_F1_DISPLAY
;
rtns
.
Metadata
[
"SampleNameDescription"
]
=
order
.
SAMPLE_NAME
;
rtns
.
Metadata
[
"SampleType"
]
=
order
.
THIRDPARTY_TESTING_TESTPART_DISPLAY
;
rtns
.
Metadata
[
"RetailNumber"
]
=
order
.
PRD_CODE
;
rtns
.
Metadata
[
"PONumber"
]
=
order
.
PO_NO
;
rtns
.
Remark
=
order
.
REMARK
;
var
details
=
new
List
<
string
>();
...
...
Src/Extensions/OrderExtension.cs
View file @
ae82b496
...
...
@@ -98,11 +98,11 @@ namespace Kivii.Third.Bestseller.Extensions
}
}
internal
static
OrderResponse
RejectOrder
(
this
JsonHttpClient
_client
,
string
apptoken
,
string
appsecret
,
string
orderNo
)
internal
static
OrderResponse
RejectOrder
(
JsonHttpClient
_client
,
string
orderNo
,
string
apptoken
=
null
,
string
appsecret
=
null
)
{
(
_client
==
null
).
ThrowIfTrue
(
"RejectOrder:请传入_client"
);
(
apptoken
.
IsNullOrEmpty
())
.
ThrowIfTrue
(
"RejectOrder:请传入apptoken"
);
(
appsecret
.
IsNullOrEmpty
())
.
ThrowIfTrue
(
"RejectOrder:请传入appsecret"
);
if
(
apptoken
.
IsNullOrEmpty
())
apptoken
=
Configs
.
_token
;
//
.ThrowIfTrue("RejectOrder:请传入apptoken");
if
(
appsecret
.
IsNullOrEmpty
())
appsecret
=
Configs
.
_secret
;
//
.ThrowIfTrue("RejectOrder:请传入appsecret");
(
orderNo
.
IsNullOrEmpty
()).
ThrowIfTrue
(
"RejectOrder:请传入orderNo"
);
//var client = new JsonServiceClient(baseUrl);
...
...
Src/Properties/AssemblyInfo.cs
View file @
ae82b496
...
...
@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.2024.102
1
0")]
[assembly: AssemblyFileVersion("5.4.2024.102
1
0")]
[assembly: AssemblyVersion("5.4.2024.102
2
0")]
[assembly: AssemblyFileVersion("5.4.2024.102
2
0")]
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