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
bdc6c52b
Commit
bdc6c52b
authored
Dec 13, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8182c486
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
90 deletions
+62
-90
BuildingCarrierModule_V2.cs
Mall.Module.TradePavilion/BuildingCarrierModule_V2.cs
+62
-64
AppletTradeController.cs
...WebApi/Controllers/TradePavilion/AppletTradeController.cs
+0
-26
No files found.
Mall.Module.TradePavilion/BuildingCarrierModule_V2.cs
View file @
bdc6c52b
This diff is collapsed.
Click to expand it.
Mall.WebApi/Controllers/TradePavilion/AppletTradeController.cs
View file @
bdc6c52b
...
...
@@ -3580,34 +3580,8 @@ namespace Mall.WebApi.Controllers.TradePavilion
query
.
TenantId
=
userInfo
.
TenantId
;
query
.
Status
=
0
;
query
.
UpdateDate
=
System
.
DateTime
.
Now
;
query
.
UpdateBy
=
userInfo
.
UserId
;
#
region
验证品牌名称是否已经存在了
if
(
query
.
ExistBrandId
==
0
)
{
//if (carrierModule.ValidateBrandName(query.BrandName, userInfo.MallBaseId))
//{
// //return ApiResult.Failed("该品牌名称已存在,请选择绑定已有品牌");
//}
//if (carrierModule.ValidateFullBrandName(query.FullBrandName, userInfo.MallBaseId))
//{
// //return ApiResult.Failed("该品牌全名已存在,请选择绑定已有品牌");
//}
}
//修改
#
region
验证品牌是否已关联用户
if
(
query
.
ExistBrandId
>
0
)
{
//var bmodel = carrierModule.GetBrand(new RB_Brand_Extend { ID = query.ExistBrandId, MallBaseId = query.MallBaseId, TenantId = query.TenantId });
//if (bmodel.UserId > 0)
//{
// //return ApiResult.Failed("该品牌已被其他用户认证,请核实后再试");
//}
}
#
endregion
#
endregion
bool
flag
=
buildingCarrierModule
.
SetCarrierEnterpriseApplyFor
(
query
);
return
flag
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
();
}
...
...
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