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
69d1c69b
Commit
69d1c69b
authored
Feb 05, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
15c748cb
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
50 additions
and
42 deletions
+50
-42
MiniprogramTemplateModule.cs
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
+1
-0
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+10
-10
ReserveModule.cs
Mall.Module.Reserve/ReserveModule.cs
+1
-0
MiniProgramMsgModule.cs
Mall.Module.User/MiniProgramMsgModule.cs
+2
-0
RB_WeChatPublicAccountModule.cs
Mall.Module.User/RB_WeChatPublicAccountModule.cs
+8
-2
UserCommonModule.cs
Mall.Module.User/UserCommonModule.cs
+1
-1
AppletEducationController.cs
...WebApi/Controllers/Education/AppletEducationController.cs
+25
-25
AppletSchoolController.cs
Mall.WebApi/Controllers/Education/AppletSchoolController.cs
+1
-3
Mall.sln
Mall.sln
+1
-1
No files found.
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
View file @
69d1c69b
...
@@ -565,6 +565,7 @@ namespace Mall.Module.MarketingCenter
...
@@ -565,6 +565,7 @@ namespace Mall.Module.MarketingCenter
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"AnalyzePlusModule_educationteacher"
);
}
}
item
.
data
=
educationTeacherModel
;
item
.
data
=
educationTeacherModel
;
break
;
break
;
...
...
Mall.Module.Product/OrderModule.cs
View file @
69d1c69b
...
@@ -222,7 +222,7 @@ namespace Mall.Module.Product
...
@@ -222,7 +222,7 @@ namespace Mall.Module.Product
/// <summary>
/// <summary>
/// 财务单据规则
/// 财务单据规则
/// </summary>
/// </summary>
private
static
RB_Finance_ConfigurineRepository
financeConfigurineRepository
=
new
RB_Finance_ConfigurineRepository
();
private
readonly
RB_Finance_ConfigurineRepository
financeConfigurineRepository
=
new
RB_Finance_ConfigurineRepository
();
/// <summary>
/// <summary>
/// 粉象返佣
/// 粉象返佣
/// </summary>
/// </summary>
...
@@ -312,29 +312,29 @@ namespace Mall.Module.Product
...
@@ -312,29 +312,29 @@ namespace Mall.Module.Product
/// <summary>
/// <summary>
/// 司导站点
/// 司导站点
/// </summary>
/// </summary>
private
RB_GuideCar_SiteRepository
guideCar_SiteRepository
=
new
RB_GuideCar_SiteRepository
();
private
readonly
RB_GuideCar_SiteRepository
guideCar_SiteRepository
=
new
RB_GuideCar_SiteRepository
();
/// <summary>
/// <summary>
/// 车辆颜色
/// 车辆颜色
/// </summary>
/// </summary>
private
RB_GuideCar_CarColorRepository
guideCar_CarColorRepository
=
new
RB_GuideCar_CarColorRepository
();
private
readonly
RB_GuideCar_CarColorRepository
guideCar_CarColorRepository
=
new
RB_GuideCar_CarColorRepository
();
/// <summary>
/// <summary>
/// 快递配置
/// 快递配置
/// </summary>
/// </summary>
private
RB_Express_ConfigRepository
express_ConfigRepository
=
new
RB_Express_ConfigRepository
();
private
readonly
RB_Express_ConfigRepository
express_ConfigRepository
=
new
RB_Express_ConfigRepository
();
/// <summary>
/// <summary>
/// 教育订单对应的老师
/// 教育订单对应的老师
/// </summary>
/// </summary>
private
RB_Goods_WK_TeacherRepository
goodsWKTeacherRepository
=
new
RB_Goods_WK_TeacherRepository
();
private
readonly
RB_Goods_WK_TeacherRepository
goodsWKTeacherRepository
=
new
RB_Goods_WK_TeacherRepository
();
/// <summary>
/// <summary>
/// 教育对应的订单课程卡
/// 教育对应的订单课程卡
/// </summary>
/// </summary>
private
Mall
.
Repository
.
Education
.
RB_Education_MemberCouponRepository
educationMemberCouponRepository
=
new
Mall
.
Repository
.
Education
.
RB_Education_MemberCouponRepository
();
private
readonly
Repository
.
Education
.
RB_Education_MemberCouponRepository
educationMemberCouponRepository
=
new
Repository
.
Education
.
RB_Education_MemberCouponRepository
();
/// <summary>
/// <summary>
/// 套餐卡仓储层对象
/// 套餐卡仓储层对象
/// </summary>
/// </summary>
private
RB_Reserve_MemberCouponRepository
reserveMemberCouponRepository
=
new
RB_Reserve_MemberCouponRepository
();
private
readonly
RB_Reserve_MemberCouponRepository
reserveMemberCouponRepository
=
new
RB_Reserve_MemberCouponRepository
();
/// <summary>
/// <summary>
/// 服务人员仓储层对象
/// 服务人员仓储层对象
...
@@ -627,7 +627,7 @@ namespace Mall.Module.Product
...
@@ -627,7 +627,7 @@ namespace Mall.Module.Product
/// <returns></returns>
/// <returns></returns>
public
ApiResult
SetGoodsShoppingCartGetInfo
(
RB_Goods_ShoppingCart_Extend
demodel
)
public
ApiResult
SetGoodsShoppingCartGetInfo
(
RB_Goods_ShoppingCart_Extend
demodel
)
{
{
bool
flag
=
false
;
bool
flag
;
var
gmodel
=
goodsRepository
.
GetEntity
(
demodel
.
GoodsId
);
var
gmodel
=
goodsRepository
.
GetEntity
(
demodel
.
GoodsId
);
if
(
gmodel
.
IsCustomSpecification
==
1
)
if
(
gmodel
.
IsCustomSpecification
==
1
)
{
{
...
@@ -4228,7 +4228,7 @@ namespace Mall.Module.Product
...
@@ -4228,7 +4228,7 @@ namespace Mall.Module.Product
/// <returns></returns>
/// <returns></returns>
public
bool
UpdateERPGoodsOrderInfoModule
(
RB_Goods_Order_Extend
extModel
,
RB_Goods_Online_Trade_Extend
tradeModel
,
int
FinanceId
=
0
)
public
bool
UpdateERPGoodsOrderInfoModule
(
RB_Goods_Order_Extend
extModel
,
RB_Goods_Online_Trade_Extend
tradeModel
,
int
FinanceId
=
0
)
{
{
bool
flag
=
false
;
bool
flag
;
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
{
{
{
nameof
(
RB_Goods_Order_Extend
.
MerchantsNo
),
extModel
.
MerchantsNo
},
{
nameof
(
RB_Goods_Order_Extend
.
MerchantsNo
),
extModel
.
MerchantsNo
},
...
@@ -7925,7 +7925,7 @@ namespace Mall.Module.Product
...
@@ -7925,7 +7925,7 @@ namespace Mall.Module.Product
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"CancelAppletGoodsOrderInfo"
);
}
}
}
}
...
...
Mall.Module.Reserve/ReserveModule.cs
View file @
69d1c69b
...
@@ -490,6 +490,7 @@ namespace Mall.Module.Reserve
...
@@ -490,6 +490,7 @@ namespace Mall.Module.Reserve
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"AddOrUpdateServiceTargetDate"
);
return
false
;
return
false
;
}
}
}
}
...
...
Mall.Module.User/MiniProgramMsgModule.cs
View file @
69d1c69b
...
@@ -885,6 +885,7 @@ namespace Mall.Module.User
...
@@ -885,6 +885,7 @@ namespace Mall.Module.User
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"SendEducationDynamicMsg"
);
LogHelper
.
Write
(
string
.
Format
(
"SendEducationDynamicMsg:wenXinResult:{0}"
,
wenXinResult
));
LogHelper
.
Write
(
string
.
Format
(
"SendEducationDynamicMsg:wenXinResult:{0}"
,
wenXinResult
));
}
}
if
(
successCount
==
OpenIds
.
Count
())
if
(
successCount
==
OpenIds
.
Count
())
...
@@ -979,6 +980,7 @@ namespace Mall.Module.User
...
@@ -979,6 +980,7 @@ namespace Mall.Module.User
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
LogHelper
.
Write
(
ex
,
"SendCourseOrderTplMsg"
);
LogHelper
.
Write
(
string
.
Format
(
"SendCourseOrderTplMsg:wenXinResult:{0}"
,
wenXinResult
));
LogHelper
.
Write
(
string
.
Format
(
"SendCourseOrderTplMsg:wenXinResult:{0}"
,
wenXinResult
));
}
}
if
(
successCount
==
OpenIds
.
Count
())
if
(
successCount
==
OpenIds
.
Count
())
...
...
Mall.Module.User/RB_WeChatPublicAccountModule.cs
View file @
69d1c69b
...
@@ -48,13 +48,14 @@ namespace Mall.Module.User
...
@@ -48,13 +48,14 @@ namespace Mall.Module.User
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"SendOrderSucceedMsg_1"
);
try
try
{
{
access_token
=
AccessTokenContainer
.
GetAccessTokenResult
(
appletWeChatModel
.
AppId
).
access_token
;
access_token
=
AccessTokenContainer
.
GetAccessTokenResult
(
appletWeChatModel
.
AppId
).
access_token
;
}
}
catch
(
Exception
exs
)
catch
(
Exception
exs
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
exs
,
"SendOrderSucceedMsg_2"
);
}
}
}
}
if
(
string
.
IsNullOrWhiteSpace
(
access_token
))
if
(
string
.
IsNullOrWhiteSpace
(
access_token
))
...
@@ -107,6 +108,7 @@ namespace Mall.Module.User
...
@@ -107,6 +108,7 @@ namespace Mall.Module.User
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"SendOrderSucceedMsg_1"
);
}
}
}
}
}
}
...
@@ -114,6 +116,7 @@ namespace Mall.Module.User
...
@@ -114,6 +116,7 @@ namespace Mall.Module.User
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"SendOrderSucceedMsg_2"
);
return
false
;
return
false
;
}
}
}
}
...
@@ -149,13 +152,14 @@ namespace Mall.Module.User
...
@@ -149,13 +152,14 @@ namespace Mall.Module.User
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"SendOrderCancelMsg_1"
);
try
try
{
{
access_token
=
AccessTokenContainer
.
GetAccessTokenResult
(
appletWeChatModel
.
AppId
).
access_token
;
access_token
=
AccessTokenContainer
.
GetAccessTokenResult
(
appletWeChatModel
.
AppId
).
access_token
;
}
}
catch
(
Exception
exs
)
catch
(
Exception
exs
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
exs
,
"SendOrderCancelMsg_2"
);
}
}
}
}
...
@@ -201,6 +205,7 @@ namespace Mall.Module.User
...
@@ -201,6 +205,7 @@ namespace Mall.Module.User
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"SendOrderCancelMsg_3"
);
}
}
}
}
}
}
...
@@ -208,6 +213,7 @@ namespace Mall.Module.User
...
@@ -208,6 +213,7 @@ namespace Mall.Module.User
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"SendOrderCancelMsg_4"
);
return
false
;
return
false
;
}
}
}
}
...
...
Mall.Module.User/UserCommonModule.cs
View file @
69d1c69b
...
@@ -610,7 +610,7 @@ namespace Mall.Module.User
...
@@ -610,7 +610,7 @@ namespace Mall.Module.User
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"InsertOrderPayInfo"
);
}
}
appletWeChatModule
.
SendOrderSucceedMsg
(
oldOrder
.
TenantId
,
oldOrder
.
MallBaseId
,
umodel
.
OpenId
,
oldOrder
.
OrderNo
,
oldOrder
.
CreateDate
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
),
(
oldOrder
.
Income
??
0
).
ToString
(),
goodsName
);
appletWeChatModule
.
SendOrderSucceedMsg
(
oldOrder
.
TenantId
,
oldOrder
.
MallBaseId
,
umodel
.
OpenId
,
oldOrder
.
OrderNo
,
oldOrder
.
CreateDate
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
),
(
oldOrder
.
Income
??
0
).
ToString
(),
goodsName
);
...
...
Mall.WebApi/Controllers/Education/AppletEducationController.cs
View file @
69d1c69b
...
@@ -34,9 +34,9 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -34,9 +34,9 @@ namespace Mall.WebApi.Controllers.Education
{
{
private
readonly
EducationModule
educationModule
=
new
EducationModule
();
private
readonly
EducationModule
educationModule
=
new
EducationModule
();
private
readonly
DynamicModule
dynamicModule
=
new
DynamicModule
();
private
readonly
DynamicModule
dynamicModule
=
new
DynamicModule
();
private
Module
.
User
.
UserModule
UserModule
=
new
Module
.
User
.
UserModule
();
private
readonly
UserModule
UserModule
=
new
UserModule
();
private
Module
.
Product
.
ProductModule
productModule
=
new
Module
.
Product
.
ProductModule
();
private
readonly
Module
.
Product
.
ProductModule
productModule
=
new
Module
.
Product
.
ProductModule
();
private
readonly
M
odule
.
User
.
MiniProgramModule
programModule
=
new
Module
.
User
.
MiniProgramModule
();
private
readonly
M
iniProgramModule
programModule
=
new
MiniProgramModule
();
private
readonly
Module
.
MarketingCenter
.
SurveyModule
surveyModule
=
new
Module
.
MarketingCenter
.
SurveyModule
();
private
readonly
Module
.
MarketingCenter
.
SurveyModule
surveyModule
=
new
Module
.
MarketingCenter
.
SurveyModule
();
#
region
课程卡
#
region
课程卡
...
@@ -87,7 +87,6 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -87,7 +87,6 @@ namespace Mall.WebApi.Controllers.Education
[
HttpPost
]
[
HttpPost
]
public
ApiResult
GrantCoupon
()
public
ApiResult
GrantCoupon
()
{
{
var
parms
=
RequestParm
;
var
userInfo
=
AppletUserInfo
;
var
userInfo
=
AppletUserInfo
;
var
query
=
JsonConvert
.
DeserializeObject
<
RB_Education_MemberCoupon_Extend
>(
RequestParm
.
msg
.
ToString
());
var
query
=
JsonConvert
.
DeserializeObject
<
RB_Education_MemberCoupon_Extend
>(
RequestParm
.
msg
.
ToString
());
query
.
TenantId
=
userInfo
.
TenantId
;
query
.
TenantId
=
userInfo
.
TenantId
;
...
@@ -149,20 +148,22 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -149,20 +148,22 @@ namespace Mall.WebApi.Controllers.Education
}
}
RB_Education_MemberCoupon_Extend
memberCoupon
=
new
RB_Education_MemberCoupon_Extend
();
RB_Education_MemberCoupon_Extend
memberCoupon
=
new
RB_Education_MemberCoupon_Extend
memberCoupon
.
Id
=
0
;
{
memberCoupon
.
UserId
=
userInfo
.
UserId
;
Id
=
0
,
memberCoupon
.
Description
=
oldLogisticsModel
.
Describe
;
UserId
=
userInfo
.
UserId
,
memberCoupon
.
CreateDate
=
System
.
DateTime
.
Now
;
Description
=
oldLogisticsModel
.
Describe
,
memberCoupon
.
TenantId
=
userInfo
.
TenantId
;
CreateDate
=
System
.
DateTime
.
Now
,
memberCoupon
.
MallBaseId
=
userInfo
.
MallBaseId
;
TenantId
=
userInfo
.
TenantId
,
memberCoupon
.
Remarks
=
""
;
MallBaseId
=
userInfo
.
MallBaseId
,
memberCoupon
.
CouponId
=
oldLogisticsModel
.
ID
;
Remarks
=
""
,
memberCoupon
.
Name
=
oldLogisticsModel
.
Name
;
CouponId
=
oldLogisticsModel
.
ID
,
memberCoupon
.
HeXiao
=
oldLogisticsModel
.
HeXiao
;
Name
=
oldLogisticsModel
.
Name
,
memberCoupon
.
UseHeXiao
=
0
;
HeXiao
=
oldLogisticsModel
.
HeXiao
,
memberCoupon
.
UseType
=
oldLogisticsModel
.
UseType
;
UseHeXiao
=
0
,
if
(
oldLogisticsModel
.
IndateType
==
Common
.
Enum
.
MarketingCenter
.
IndateTypeEnum
.
DayHorizon
)
UseType
=
oldLogisticsModel
.
UseType
};
if
(
oldLogisticsModel
.
IndateType
==
IndateTypeEnum
.
DayHorizon
)
{
{
memberCoupon
.
StartDate
=
System
.
DateTime
.
Now
;
memberCoupon
.
StartDate
=
System
.
DateTime
.
Now
;
LogHelper
.
WriteInfo
(
userInfo
.
Name
+
"课程卡领取时间:"
+
memberCoupon
.
StartDate
);
LogHelper
.
WriteInfo
(
userInfo
.
Name
+
"课程卡领取时间:"
+
memberCoupon
.
StartDate
);
...
@@ -173,8 +174,10 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -173,8 +174,10 @@ namespace Mall.WebApi.Controllers.Education
memberCoupon
.
StartDate
=
oldLogisticsModel
.
StartDate
;
memberCoupon
.
StartDate
=
oldLogisticsModel
.
StartDate
;
memberCoupon
.
EndDate
=
oldLogisticsModel
.
EndDate
;
memberCoupon
.
EndDate
=
oldLogisticsModel
.
EndDate
;
}
}
var
memberList
=
new
List
<
RB_Education_MemberCoupon_Extend
>();
var
memberList
=
new
List
<
RB_Education_MemberCoupon_Extend
>
memberList
.
Add
(
memberCoupon
);
{
memberCoupon
};
bool
result
=
educationModule
.
GrantCoupon
(
memberList
,
oldLogisticsModel
);
bool
result
=
educationModule
.
GrantCoupon
(
memberList
,
oldLogisticsModel
);
if
(
result
)
if
(
result
)
{
{
...
@@ -230,7 +233,6 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -230,7 +233,6 @@ namespace Mall.WebApi.Controllers.Education
[
HttpPost
]
[
HttpPost
]
public
ApiResult
ShareEducationCoupon
()
public
ApiResult
ShareEducationCoupon
()
{
{
var
parms
=
RequestParm
;
var
userInfo
=
AppletUserInfo
;
var
userInfo
=
AppletUserInfo
;
var
query
=
JsonConvert
.
DeserializeObject
<
RB_Education_Coupon_Extend
>(
RequestParm
.
msg
.
ToString
());
var
query
=
JsonConvert
.
DeserializeObject
<
RB_Education_Coupon_Extend
>(
RequestParm
.
msg
.
ToString
());
query
.
TenantId
=
userInfo
.
TenantId
;
query
.
TenantId
=
userInfo
.
TenantId
;
...
@@ -239,7 +241,6 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -239,7 +241,6 @@ namespace Mall.WebApi.Controllers.Education
RB_Education_Coupon_Extend
resultModel
=
new
RB_Education_Coupon_Extend
();
RB_Education_Coupon_Extend
resultModel
=
new
RB_Education_Coupon_Extend
();
if
(
query
.
TriggerType
==
2
)
if
(
query
.
TriggerType
==
2
)
{
{
query
.
TriggerType
=
4
;
query
.
TriggerType
=
4
;
resultModel
=
educationModule
.
AutoEducationCoupon
(
query
);
resultModel
=
educationModule
.
AutoEducationCoupon
(
query
);
if
(
resultModel
==
null
||
resultModel
.
ID
==
0
)
if
(
resultModel
==
null
||
resultModel
.
ID
==
0
)
...
@@ -450,7 +451,6 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -450,7 +451,6 @@ namespace Mall.WebApi.Controllers.Education
JObject
parms
=
JObject
.
Parse
(
req
.
msg
.
ToString
());
JObject
parms
=
JObject
.
Parse
(
req
.
msg
.
ToString
());
int
GoodsId
=
parms
.
GetInt
(
"GoodsId"
,
0
);
int
GoodsId
=
parms
.
GetInt
(
"GoodsId"
,
0
);
int
Time
=
parms
.
GetInt
(
"Time"
,
10
);
//秒
int
Time
=
parms
.
GetInt
(
"Time"
,
10
);
//秒
int
CourseId
=
parms
.
GetInt
(
"CourseId"
,
0
);
//课程id
if
(
GoodsId
<=
0
)
if
(
GoodsId
<=
0
)
{
{
return
ApiResult
.
ParamIsNull
(
"请传递课程id"
);
return
ApiResult
.
ParamIsNull
(
"请传递课程id"
);
...
@@ -792,7 +792,7 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -792,7 +792,7 @@ namespace Mall.WebApi.Controllers.Education
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"InsertOrderPayInfo"
);
return
ApiResult
.
Failed
(
"评论内容检测失败,请稍后再试"
);
return
ApiResult
.
Failed
(
"评论内容检测失败,请稍后再试"
);
}
}
#
endregion
#
endregion
...
@@ -1621,7 +1621,7 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -1621,7 +1621,7 @@ namespace Mall.WebApi.Controllers.Education
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"GetDynamicComment"
);
return
ApiResult
.
Failed
(
"评论内容检测失败,请稍后再试"
);
return
ApiResult
.
Failed
(
"评论内容检测失败,请稍后再试"
);
}
}
#
endregion
#
endregion
...
...
Mall.WebApi/Controllers/Education/AppletSchoolController.cs
View file @
69d1c69b
...
@@ -26,7 +26,6 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -26,7 +26,6 @@ namespace Mall.WebApi.Controllers.Education
{
{
private
readonly
EducationModule
educationModule
=
new
EducationModule
();
private
readonly
EducationModule
educationModule
=
new
EducationModule
();
private
readonly
ProductModule
productModule
=
new
ProductModule
();
private
readonly
ProductModule
productModule
=
new
ProductModule
();
private
Module
.
User
.
UserModule
UserModule
=
new
Module
.
User
.
UserModule
();
private
readonly
DynamicModule
dynamicModule
=
new
DynamicModule
();
private
readonly
DynamicModule
dynamicModule
=
new
DynamicModule
();
#
region
课程
#
region
课程
...
@@ -342,8 +341,7 @@ namespace Mall.WebApi.Controllers.Education
...
@@ -342,8 +341,7 @@ namespace Mall.WebApi.Controllers.Education
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"GetArticleModel"
);
}
}
return
ApiResult
.
Success
(
""
,
oldLogisticsModel
);
return
ApiResult
.
Success
(
""
,
oldLogisticsModel
);
}
}
...
...
Mall.sln
View file @
69d1c69b
...
@@ -55,7 +55,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Module.Education", "Ma
...
@@ -55,7 +55,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Module.Education", "Ma
EndProject
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Module.Reserve", "Mall.Module.Reserve\Mall.Module.Reserve.csproj", "{449E8584-B4D1-4796-81EE-F7D70536C91D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Module.Reserve", "Mall.Module.Reserve\Mall.Module.Reserve.csproj", "{449E8584-B4D1-4796-81EE-F7D70536C91D}"
EndProject
EndProject
Project("{
FAE04EC0-301F-11D3-BF4B-00C04F79EFBC
}") = "Mall.Module.TradePavilion", "Mall.Module.TradePavilion\Mall.Module.TradePavilion.csproj", "{3982D5CA-D5BF-45FD-BCDA-FF6694D409D3}"
Project("{
9A19103F-16F7-4668-BE54-9A1E7A4F7556
}") = "Mall.Module.TradePavilion", "Mall.Module.TradePavilion\Mall.Module.TradePavilion.csproj", "{3982D5CA-D5BF-45FD-BCDA-FF6694D409D3}"
EndProject
EndProject
Global
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
GlobalSection(SolutionConfigurationPlatforms) = preSolution
...
...
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