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
df5b4a86
Commit
df5b4a86
authored
May 27, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
1efa7783
61e2df8d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
972 additions
and
954 deletions
+972
-954
RequestParm.cs
Mall.Common/API/RequestParm.cs
+5
-0
RB_Miniprogram_PageManage.cs
Mall.Model/Entity/User/RB_Miniprogram_PageManage.cs
+5
-0
MiniProgramPageModule.cs
Mall.Module.User/MiniProgramPageModule.cs
+4
-0
RB_Miniprogram_PageManageRepository.cs
Mall.Repository/User/RB_Miniprogram_PageManageRepository.cs
+1
-1
MallController.cs
Mall.WebApi/Controllers/Mall/MallController.cs
+956
-953
TenantController.cs
Mall.WebApi/Controllers/User/TenantController.cs
+1
-0
No files found.
Mall.Common/API/RequestParm.cs
View file @
df5b4a86
...
...
@@ -67,5 +67,10 @@ namespace Mall.Common.API
/// 小程序Id
/// </summary>
public
string
MiniAppId
{
get
;
set
;
}
/// <summary>
/// 用户OpenId
/// </summary>
public
string
OpenId
{
get
;
set
;
}
}
}
Mall.Model/Entity/User/RB_Miniprogram_PageManage.cs
View file @
df5b4a86
...
...
@@ -84,5 +84,10 @@ namespace Mall.Model.Entity.User
get
;
set
;
}
/// <summary>
/// 参数PlaceHolder
/// </summary>
public
string
TipText
{
get
;
set
;
}
}
}
Mall.Module.User/MiniProgramPageModule.cs
View file @
df5b4a86
...
...
@@ -208,6 +208,7 @@ namespace Mall.Module.User
PageUrl
=
"/pages/index/index?page_id="
+
item
.
Id
,
PageType
=
Common
.
Enum
.
MallBase
.
PageTypeEnum
.
DiyPage
,
IsParameter
=
0
,
TipText
=
""
,
SelfPageName
=
item
.
PageName
,
ParameterValue
=
""
,
});
...
...
@@ -250,6 +251,7 @@ namespace Mall.Module.User
if
(
extModel
.
IsParameter
==
0
)
{
extModel
.
ParameterValue
=
""
;
extModel
.
TipText
=
""
;
}
if
(
extModel
.
PageId
>
0
)
{
...
...
@@ -261,6 +263,8 @@ namespace Mall.Module.User
{
nameof
(
RB_Miniprogram_PageManage_Extend
.
PageSort
),
extModel
.
PageSort
},
{
nameof
(
RB_Miniprogram_PageManage_Extend
.
IsParameter
),
extModel
.
IsParameter
},
{
nameof
(
RB_Miniprogram_PageManage_Extend
.
ParameterValue
),
extModel
.
ParameterValue
},
{
nameof
(
RB_Miniprogram_PageManage_Extend
.
TipText
),
extModel
.
TipText
},
};
flag
=
miniprogram_PageManageRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Miniprogram_PageManage_Extend
.
PageId
),
extModel
.
PageId
));
}
...
...
Mall.Repository/User/RB_Miniprogram_PageManageRepository.cs
View file @
df5b4a86
...
...
@@ -80,7 +80,7 @@ namespace Mall.Repository.User
{
StringBuilder
builder
=
new
StringBuilder
();
builder
.
Append
(
@"
SELECT B.PageId, B.PageName,B.PageType,B.PageUrl,B.PageSort,B.IsParameter,B.ParameterValue,IFNULL(A.SelfPageName,'') AS SelfPageName,A.Id
SELECT B.PageId, B.PageName,B.PageType,B.PageUrl,B.PageSort,B.IsParameter,B.ParameterValue,IFNULL(A.SelfPageName,'') AS SelfPageName,A.Id
,B.TipText
FROM rb_miniprogram_page AS A INNER JOIN rb_miniprogram_pagemanage AS B ON A.PageId = B.PageId
WHERE B.`Status`= 0 "
);
if
(
query
!=
null
)
...
...
Mall.WebApi/Controllers/Mall/MallController.cs
View file @
df5b4a86
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Mall.WebApi/Controllers/User/TenantController.cs
View file @
df5b4a86
...
...
@@ -1042,6 +1042,7 @@ namespace Mall.WebApi.Controllers.User
qitem
.
PageUrl
,
qitem
.
IsParameter
,
qitem
.
ParameterValue
,
qitem
.
TipText
,
qitem
.
Id
,
qitem
.
SelfPageName
})
...
...
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