Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
a105485e
Commit
a105485e
authored
Dec 09, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3496dc0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
RB_User_ChangeLog.cs
Edu.Model/Entity/Log/RB_User_ChangeLog.cs
+1
-1
B2BCustomerController.cs
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
+24
-1
No files found.
Edu.Model/Entity/Log/RB_User_ChangeLog.cs
View file @
a105485e
...
...
@@ -44,7 +44,7 @@ namespace Edu.Model.Entity.Log
private
int
type
=
1
;
/// <summary>
/// 类型1-日常日志;2-订单日志;3-学员日志
/// 类型1-日常日志;2-订单日志;3-学员日志
;4-同业日志
/// </summary>
public
int
Type
{
get
=>
type
;
set
=>
type
=
value
;
}
...
...
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
View file @
a105485e
...
...
@@ -4,6 +4,7 @@ using Edu.Common.Enum.Customer;
using
Edu.Common.Plugin
;
using
Edu.Model.ViewModel.Customer
;
using
Edu.Module.Customer
;
using
Edu.Module.Log
;
using
Edu.WebApi.Filter
;
using
Microsoft.AspNetCore.Cors
;
using
Microsoft.AspNetCore.Http
;
...
...
@@ -37,6 +38,12 @@ namespace Edu.WebApi.Controllers.Customer
/// </summary>
private
readonly
CustomerBalanceDetailModule
balanceDetailModule
=
new
CustomerBalanceDetailModule
();
/// <summary>
/// 同业日志
/// </summary>
private
readonly
UserChangeLogModule
userChangeLogModule
=
new
UserChangeLogModule
();
#
region
同行管理
/// <summary>
...
...
@@ -435,7 +442,7 @@ namespace Edu.WebApi.Controllers.Customer
return
flag
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
(
message
:
message
);
}
#
region
同行
显示
调整
#
region
同行调整
/// <summary>
/// 获取同行分页列表
...
...
@@ -482,6 +489,22 @@ namespace Edu.WebApi.Controllers.Customer
return
ApiResult
.
Success
(
data
:
pageModel
);
}
/// <summary>
/// 获取同行佣金幸福存折
/// </summary>
/// <returns></returns>
[
HttpPost
]
public
ApiResult
GetCustomerCommissionPassbook
()
{
var
userInfo
=
base
.
UserInfo
;
JObject
parms
=
JObject
.
Parse
(
base
.
RequestParm
.
Msg
.
ToString
());
int
CustomerId
=
parms
.
GetInt
(
"CustomerId"
,
0
);
//同业ID
if
(
CustomerId
<=
0
)
{
return
ApiResult
.
ParamIsNull
();
}
return
ApiResult
.
Success
();
}
#
endregion
}
}
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