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
91e17ca4
Commit
91e17ca4
authored
Aug 12, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
a04a38fb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
28 deletions
+61
-28
RB_Member_User.cs
Mall.Model/Entity/User/RB_Member_User.cs
+2
-0
RB_Member_CouponRepository.cs
Mall.Repository/User/RB_Member_CouponRepository.cs
+49
-22
SmallShopsController.cs
Mall.WebApi/Controllers/User/SmallShopsController.cs
+10
-6
No files found.
Mall.Model/Entity/User/RB_Member_User.cs
View file @
91e17ca4
...
...
@@ -206,5 +206,7 @@ namespace Mall.Model.Entity.User
/// 成为下线时间
/// </summary>
public
DateTime
?
BeDownlineDate
{
get
;
set
;
}
//public int SmallShopId { get; set; }
}
}
Mall.Repository/User/RB_Member_CouponRepository.cs
View file @
91e17ca4
This diff is collapsed.
Click to expand it.
Mall.WebApi/Controllers/User/SmallShopsController.cs
View file @
91e17ca4
...
...
@@ -228,7 +228,7 @@ namespace Mall.WebApi.Controllers.User
{
return
ApiResult
.
ParamIsNull
(
"请传递头部背景图片"
);
}
if
(
string
.
IsNullOrEmpty
(
demodel
.
WithdrawalText
))
{
return
ApiResult
.
ParamIsNull
(
"请传递提现按钮文本"
);
...
...
@@ -319,7 +319,7 @@ namespace Mall.WebApi.Controllers.User
{
return
ApiResult
.
ParamIsNull
(
"请传递用户须知"
);
}
if
(
string
.
IsNullOrWhiteSpace
(
demodel
.
IWantToWithdrawName
))
{
return
ApiResult
.
Failed
(
"请传递我要提现描述"
);
...
...
@@ -332,9 +332,13 @@ namespace Mall.WebApi.Controllers.User
{
return
ApiResult
.
Failed
(
"请传递提现方式描述"
);
}
demodel
.
TenantId
=
Convert
.
ToInt32
(
requestParm
.
uid
);
demodel
.
MallBaseId
=
requestParm
.
MallBaseId
;
demodel
.
CreateDate
=
DateTime
.
Now
;
if
(
demodel
.
Id
==
0
)
{
demodel
.
CreateDate
=
DateTime
.
Now
;
demodel
.
TenantId
=
Convert
.
ToInt32
(
requestParm
.
uid
);
demodel
.
MallBaseId
=
requestParm
.
MallBaseId
;
}
demodel
.
UpdateDate
=
DateTime
.
Now
;
bool
flag
=
smallShopsModule
.
SetSmallShopsCustomInfo
(
demodel
);
if
(
flag
)
...
...
@@ -391,7 +395,7 @@ namespace Mall.WebApi.Controllers.User
model
.
WithdrawalAmountName
,
model
.
WithdrawalWayName
,
UpdateDate
=
model
.
UpdateDate
.
HasValue
?
model
.
UpdateDate
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
,
});
}
...
...
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