Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
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
西魏
cms_sys
Commits
76515000
Commit
76515000
authored
Sep 27, 2020
by
vip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改自定义返回值
parent
a0c6f997
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
4 deletions
+19
-4
pom.xml
pom.xml
+3
-4
form.ftl
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+7
-0
form.ftl
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
+3
-0
main.ftl
src/main/webapp/WEB-INF/manager/cms/content/main.ftl
+3
-0
index.ftl
src/main/webapp/WEB-INF/manager/index.ftl
+3
-0
No files found.
pom.xml
View file @
76515000
...
...
@@ -3,9 +3,9 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<groupId>
org.springframework.boo
t
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.
2.2.RELEASE
</version>
<groupId>
net.mingsof
t
</groupId>
<artifactId>
ms-pom
</artifactId>
<version>
2.
0.0-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
net.mingsoft
</groupId>
...
...
@@ -35,7 +35,6 @@
<dependency>
<groupId>
net.mingsoft
</groupId>
<artifactId>
ms-mpeople
</artifactId>
<version>
1.0.28
</version>
</dependency>
<!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
...
...
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
76515000
...
...
@@ -418,7 +418,9 @@
ms
.
http
.
get
(
ms
.
manager
+
"/mdiy/model/list.do"
,
{
modelType
:
'zdymx_wz'
}).
then
(
function
(
data
)
{
if
(
data
.
result
){
that
.
mdiyModelIdOptions
=
data
.
data
.
rows
;
}
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
...
...
@@ -460,11 +462,13 @@
ms
.
http
.
post
(
ms
.
manager
+
"/cms/content/list.do"
,
{
contentCategoryId
:
id
}).
then
(
function
(
data
)
{
if
(
data
.
result
){
if
(
data
.
data
.
total
>
0
)
{
that
.
categoryTypeDisabled
=
true
;
}
else
{
that
.
categoryTypeDisabled
=
false
;
}
}
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
...
...
@@ -494,7 +498,10 @@
dictType
:
'栏目属性'
,
pageSize
:
99999
}).
then
(
function
(
res
)
{
if
(
res
.
result
){
res
=
res
.
data
;
that
.
categoryFlagOptions
=
res
.
rows
;
}
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
...
...
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
View file @
76515000
...
...
@@ -543,7 +543,10 @@
dictType
:
'文章属性'
,
pageSize
:
99999
}).
then
(
function
(
data
)
{
if
(
data
.
result
){
data
=
data
.
data
;
that
.
contentTypeOptions
=
data
.
rows
;
}
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
...
...
src/main/webapp/WEB-INF/manager/cms/content/main.ftl
View file @
76515000
...
...
@@ -456,7 +456,10 @@
dictType
:
'文章属性'
,
pageSize
:
99999
}).
then
(
function
(
data
)
{
if
(
data
.
result
){
data
=
data
.
data
;
that
.
contentTypeOptions
=
data
.
rows
;
}
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
...
...
src/main/webapp/WEB-INF/manager/index.ftl
View file @
76515000
...
...
@@ -507,7 +507,10 @@
dictList
:
function
()
{
var
that
=
this
;
ms
.
http
.
get
(
ms
.
base
+
'/mdiy/dict/list.do'
,
{
dictType
:
'消息类型'
,
pageSize
:
99999
}).
then
(
function
(
res
)
{
if
(
res
.
result
){
res
=
res
.
data
;
that
.
messageTypeList
=
res
.
rows
;
}
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
...
...
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