Commit a105485e authored by liudong1993's avatar liudong1993

1

parent 3496dc0c
...@@ -44,7 +44,7 @@ namespace Edu.Model.Entity.Log ...@@ -44,7 +44,7 @@ namespace Edu.Model.Entity.Log
private int type = 1; private int type = 1;
/// <summary> /// <summary>
/// 类型1-日常日志;2-订单日志;3-学员日志 /// 类型1-日常日志;2-订单日志;3-学员日志;4-同业日志
/// </summary> /// </summary>
public int Type { get => type; set => type = value; } public int Type { get => type; set => type = value; }
......
...@@ -4,6 +4,7 @@ using Edu.Common.Enum.Customer; ...@@ -4,6 +4,7 @@ using Edu.Common.Enum.Customer;
using Edu.Common.Plugin; using Edu.Common.Plugin;
using Edu.Model.ViewModel.Customer; using Edu.Model.ViewModel.Customer;
using Edu.Module.Customer; using Edu.Module.Customer;
using Edu.Module.Log;
using Edu.WebApi.Filter; using Edu.WebApi.Filter;
using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
...@@ -37,6 +38,12 @@ namespace Edu.WebApi.Controllers.Customer ...@@ -37,6 +38,12 @@ namespace Edu.WebApi.Controllers.Customer
/// </summary> /// </summary>
private readonly CustomerBalanceDetailModule balanceDetailModule = new CustomerBalanceDetailModule(); private readonly CustomerBalanceDetailModule balanceDetailModule = new CustomerBalanceDetailModule();
/// <summary>
/// 同业日志
/// </summary>
private readonly UserChangeLogModule userChangeLogModule = new UserChangeLogModule();
#region 同行管理 #region 同行管理
/// <summary> /// <summary>
...@@ -435,7 +442,7 @@ namespace Edu.WebApi.Controllers.Customer ...@@ -435,7 +442,7 @@ namespace Edu.WebApi.Controllers.Customer
return flag ? ApiResult.Success() : ApiResult.Failed(message: message); return flag ? ApiResult.Success() : ApiResult.Failed(message: message);
} }
#region 同行显示调整 #region 同行调整
/// <summary> /// <summary>
/// 获取同行分页列表 /// 获取同行分页列表
...@@ -482,6 +489,22 @@ namespace Edu.WebApi.Controllers.Customer ...@@ -482,6 +489,22 @@ namespace Edu.WebApi.Controllers.Customer
return ApiResult.Success(data: pageModel); 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 #endregion
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment