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
11d681a2
Commit
11d681a2
authored
Sep 01, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
控制器
parent
b5a6a8fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
187 additions
and
0 deletions
+187
-0
GuideCarModule.cs
Mall.Module.Product/GuideCarModule.cs
+146
-0
GuideCarController.cs
Mall.WebApi/Controllers/Product/GuideCarController.cs
+41
-0
No files found.
Mall.Module.Product/GuideCarModule.cs
0 → 100644
View file @
11d681a2
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Text.RegularExpressions
;
using
Mall.AOP.CustomerAttribute
;
using
Mall.Common.API
;
using
Mall.Common.Plugin
;
using
Mall.Model.Entity.Product
;
using
Mall.Model.Entity.User
;
using
Mall.Model.Extend.BaseSetUp
;
using
Mall.Model.Extend.Product
;
using
Mall.Model.Extend.User
;
using
Mall.Model.Query
;
using
Mall.Repository.BaseSetUp
;
using
Mall.Repository.Product
;
using
Mall.Repository.User
;
using
Newtonsoft.Json
;
using
VT.FW.DB
;
namespace
Mall.Module.Product
{
/// <summary>
/// 司导专区处理层
/// </summary>
public
class
GuideCarModule
{
/// <summary>
/// 素材分组
/// </summary>
private
readonly
RB_Material_GroupRepository
material_GroupRepository
=
new
RB_Material_GroupRepository
();
/// <summary>
/// 素材管理
/// </summary>
private
readonly
RB_Material_InfoRepository
material_InfoRepository
=
new
RB_Material_InfoRepository
();
/// <summary>
/// 商品分类
/// </summary>
private
readonly
RB_Product_CategoryRepository
product_CategoryRepository
=
new
RB_Product_CategoryRepository
();
/// <summary>
/// 商品
/// </summary>
private
readonly
RB_GoodsRepository
goodsRepository
=
new
RB_GoodsRepository
();
/// <summary>
/// 商品日志
/// </summary>
private
readonly
RB_Goods_LogRepository
goods_LogRepository
=
new
RB_Goods_LogRepository
();
/// <summary>
/// 商品区域
/// </summary>
private
readonly
RB_Goods_AreaRepository
goods_AreaRepository
=
new
RB_Goods_AreaRepository
();
/// <summary>
/// 商品分类
/// </summary>
private
readonly
RB_Goods_CategoryRepository
goods_CategoryRepository
=
new
RB_Goods_CategoryRepository
();
/// <summary>
/// 分销商等级
/// </summary>
private
readonly
RB_Distributor_GradeRepository
distributor_GradeRepository
=
new
RB_Distributor_GradeRepository
();
/// <summary>
/// 分销商
/// </summary>
private
readonly
RB_Distributor_InfoRepository
distributor_InfoRepository
=
new
RB_Distributor_InfoRepository
();
/// <summary>
/// 分销基础配置
/// </summary>
private
readonly
RB_Distributor_BasicsRepository
distributor_BasicsRepository
=
new
RB_Distributor_BasicsRepository
();
/// <summary>
/// 会员等级
/// </summary>
private
readonly
RB_Member_GradeRepository
member_GradeRepository
=
new
RB_Member_GradeRepository
();
/// <summary>
/// 用户管理
/// </summary>
private
readonly
RB_Member_UserRepository
member_UserRepository
=
new
RB_Member_UserRepository
();
/// <summary>
/// 商品分销佣金
/// </summary>
private
readonly
RB_Goods_DistributionCommissionRepository
goods_DistributionCommissionRepository
=
new
RB_Goods_DistributionCommissionRepository
();
/// <summary>
/// 商品会员价格
/// </summary>
private
readonly
RB_Goods_MemberPriceRepository
goods_MemberPriceRepository
=
new
RB_Goods_MemberPriceRepository
();
/// <summary>
/// 商户仓储层对象
/// </summary>
private
Mall
.
Repository
.
User
.
RB_MiniProgramRepository
programRepository
=
new
Repository
.
User
.
RB_MiniProgramRepository
();
/// <summary>
/// 商品收藏
/// </summary>
private
readonly
RB_Member_CollectionRepository
member_CollectionRepository
=
new
RB_Member_CollectionRepository
();
/// <summary>
/// 收货地址
/// </summary>
private
readonly
RB_Member_ShippingAddressRepository
member_ShippingAddressRepository
=
new
RB_Member_ShippingAddressRepository
();
/// <summary>
/// 订单商品
/// </summary>
private
readonly
RB_Goods_OrderRepository
goods_OrderRepository
=
new
RB_Goods_OrderRepository
();
/// <summary>
/// 地区处理
/// </summary>
private
readonly
Rb_destinationRepository
destinationRepository
=
new
Rb_destinationRepository
();
/// <summary>
/// 商品分销
/// </summary>
private
readonly
RB_MiniProgram_GoodPosterRepository
miniProgram_GoodPosterRepository
=
new
RB_MiniProgram_GoodPosterRepository
();
/// <summary>
/// 粉象返佣
/// </summary>
private
readonly
RB_Distributor_FXGradeRepository
distributor_FXGradeRepository
=
new
RB_Distributor_FXGradeRepository
();
/// <summary>
/// 粉象VIP返佣比例
/// </summary>
private
readonly
RB_Distributor_FXCommissionRepository
distributor_FXCommissionRepository
=
new
RB_Distributor_FXCommissionRepository
();
/// <summary>
/// 微店基础
/// </summary>
private
RB_SmallShops_CustomRepository
smallShops_CustomRepository
=
new
RB_SmallShops_CustomRepository
();
/// <summary>
/// 微店
/// </summary>
private
RB_SmallShops_InfoRepository
smallShops_InfoRepository
=
new
RB_SmallShops_InfoRepository
();
/// <summary>
/// 微店商品价格
/// </summary>
private
RB_SmallShops_PriceRepository
smallShops_PriceRepository
=
new
RB_SmallShops_PriceRepository
();
#
region
基础配置
#
endregion
#
region
站点配置
#
endregion
}
}
Mall.WebApi/Controllers/Product/GuideCarController.cs
0 → 100644
View file @
11d681a2
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Threading.Tasks
;
using
Mall.Common.API
;
using
Mall.Model.Extend.Product
;
using
Mall.Module.User
;
using
Mall.WebApi.Filter
;
using
Microsoft.AspNetCore.Cors
;
using
Microsoft.AspNetCore.Mvc
;
using
Newtonsoft.Json
;
using
Mall.Common.Plugin
;
using
Mall.Common.Enum.User
;
using
Mall.CacheManager.User
;
using
Newtonsoft.Json.Linq
;
using
Mall.Common
;
using
Mall.Module.Product
;
using
Mall.AOP
;
namespace
Mall.WebApi.Controllers.MallBase
{
[
Route
(
"api/[controller]/[action]"
)]
[
ApiExceptionFilter
]
[
ApiController
]
[
EnableCors
(
"AllowCors"
)]
public
class
GuideCarController
:
BaseController
{
private
readonly
GuideCarModule
guideCarModule
=
new
GuideCarModule
();
#
region
基础配置
#
endregion
#
region
站点配置
#
endregion
}
}
\ No newline at end of file
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