Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
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
黄奎
mall.oytour.com
Commits
5939ba83
Commit
5939ba83
authored
Feb 04, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增接口
parent
37b761d8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
128 additions
and
10 deletions
+128
-10
JsonHelper.cs
Mall.Common/Plugin/JsonHelper.cs
+12
-0
TradeController.cs
Mall.WebApi/Controllers/TradePavilion/TradeController.cs
+116
-10
No files found.
Mall.Common/Plugin/JsonHelper.cs
View file @
5939ba83
...
...
@@ -37,6 +37,18 @@ namespace Mall.Common.Plugin
return
result
;
}
/// <summary>
/// 获取日期时间
/// </summary>
/// <param name="jObject"></param>
/// <param name="key"></param>
/// <returns></returns>
public
static
DateTime
GetDateTime
(
this
JObject
jObject
,
string
key
)
{
DateTime
.
TryParse
(
jObject
[
key
]
==
null
?
""
:
jObject
[
key
].
ToString
(),
out
DateTime
result
);
return
result
;
}
/// <summary>
/// 获取Int
/// </summary>
...
...
Mall.WebApi/Controllers/TradePavilion/TradeController.cs
View file @
5939ba83
This diff is collapsed.
Click to expand it.
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