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
0c2c258a
Commit
0c2c258a
authored
Oct 13, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sdzq' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
into sdzq-ld
parents
b0a659d3
1a882c48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
MallHelper.cs
Mall.WebApi/Controllers/Mall/MallHelper.cs
+1
-0
MallBaseController.cs
Mall.WebApi/Controllers/MallBase/MallBaseController.cs
+17
-1
No files found.
Mall.WebApi/Controllers/Mall/MallHelper.cs
View file @
0c2c258a
...
@@ -2004,6 +2004,7 @@ namespace Mall.WebApi.Controllers
...
@@ -2004,6 +2004,7 @@ namespace Mall.WebApi.Controllers
{
{
resultMallShopStyle
?.
main
,
resultMallShopStyle
?.
main
,
resultMallShopStyle
?.
secondary
,
resultMallShopStyle
?.
secondary
,
resultMallShopStyle
?.
IsEducation
,
};
};
var
setting
=
new
var
setting
=
new
...
...
Mall.WebApi/Controllers/MallBase/MallBaseController.cs
View file @
0c2c258a
...
@@ -983,7 +983,23 @@ namespace Mall.WebApi.Controllers.MallBase
...
@@ -983,7 +983,23 @@ namespace Mall.WebApi.Controllers.MallBase
}));
}));
}
}
/// <summary>
/// 获取默认上传信息的详情
/// </summary>
/// <returns></returns>
public
ApiResult
GetDefaultFileStore
()
{
var
parms
=
RequestParm
;
var
query
=
new
RB_File_Store
();
query
.
TenantId
=
UserInfo
.
TenantId
;
query
.
MallBaseId
=
parms
.
MallBaseId
;
var
model
=
mallBaseModule
.
GetFileStoreList
(
query
).
Where
(
x
=>
x
.
IsDefault
==
1
).
FirstOrDefault
();
if
(
model
==
null
)
{
model
=
new
RB_File_Store
();
}
return
ApiResult
.
Success
(
"获取成功"
,
model
);
}
#
endregion
#
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