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
d8c23a11
Commit
d8c23a11
authored
Jan 19, 2021
by
wangtp
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
19f1f71e
112ca9f8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
163 deletions
+2
-163
bin-xml
bin-xml
+0
-107
assembly.xml
bin/assembly.xml
+0
-54
ContentAction.java
src/main/java/net/mingsoft/cms/action/web/ContentAction.java
+2
-1
application.yml
src/main/resources/application.yml
+0
-1
No files found.
bin-xml
deleted
100644 → 0
View file @
19f1f71e
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
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.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.2.2.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
net.mingsoft
</groupId>
<artifactId>
ms-mcms
</artifactId>
<version>
5.2.0
</version>
<name>
ms-mcms
</name>
<properties>
<java.version>
1.8
</java.version>
</properties>
<dependencies>
<dependency>
<groupId>
net.mingsoft
</groupId>
<artifactId>
ms-mpeople
</artifactId>
<version>
1.0.28
</version>
</dependency>
<!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
<dependency>
<groupId>
net.mingsoft
</groupId>
<artifactId>
store-client
</artifactId>
<version>
5.1
</version>
</dependency>
</dependencies>
<build>
<finalName>
ms-mcms
</finalName>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.1
</version>
<configuration>
<source>
${java.version}
</source>
<target>
${java.version}
</target>
</configuration>
</plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<executions>
<execution>
<goals>
<goal>
repackage
</goal>
</goals>
</execution>
</executions>
<!--打包生产-->
<configuration>
<fork>
true
</fork>
<mainClass>
net.mingsoft.MSApplication
</mainClass>
</configuration>
</plugin>
<!--
打包生产
-->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
3.1.0
</version>
<configuration>
<descriptors>
<descriptor>
bin/assembly.xml
</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>
make-assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>
src/main/java
</directory>
<excludes>
<exclude>
**/*.java
</exclude>
</excludes>
</resource>
<resource>
<directory>
src/main/webapp
</directory>
<excludes>
<!--打包生产-->
<exclude>
static/**
</exclude>
<exclude>
html/**
</exclude>
<exclude>
upload/**
</exclude>
<exclude>
templets/**
</exclude>
<exclude>
WEB-INF/**
</exclude>
</excludes>
</resource>
</resources>
<defaultGoal>
compile
</defaultGoal>
</build>
</project>
\ No newline at end of file
bin/assembly.xml
deleted
100644 → 0
View file @
19f1f71e
<assembly>
<id>
bin
</id>
<formats>
<format>
dir
</format>
</formats>
<includeBaseDirectory>
false
</includeBaseDirectory>
<fileSets>
<!-- 从目标目录拷贝文件去压缩 -->
<fileSet>
<directory>
target
</directory>
<includes>
<include>
*.jar
</include>
</includes>
<outputDirectory>
./
</outputDirectory>
</fileSet>
<fileSet>
<directory>
target/lib
</directory>
<outputDirectory>
./lib
</outputDirectory>
</fileSet>
<fileSet>
<directory>
src/main/resources
</directory>
<outputDirectory>
./config
</outputDirectory>
</fileSet>
<fileSet>
<directory>
src/main/webapp/static
</directory>
<outputDirectory>
./static
</outputDirectory>
</fileSet>
<fileSet>
<directory>
src/main/webapp/html
</directory>
<outputDirectory>
./html
</outputDirectory>
</fileSet>
<fileSet>
<directory>
src/main/webapp/templets
</directory>
<outputDirectory>
./templets
</outputDirectory>
</fileSet>
<fileSet>
<directory>
src/main/webapp/upload
</directory>
<outputDirectory>
./upload
</outputDirectory>
</fileSet>
<fileSet>
<directory>
src/main/webapp/WEB-INF
</directory>
<outputDirectory>
./WEB-INF
</outputDirectory>
</fileSet>
<fileSet>
<directory>
./bin
</directory>
<includes>
<include>
*.sh
</include>
<include>
*.bat
</include>
</includes>
<outputDirectory>
./
</outputDirectory>
</fileSet>
</fileSets>
</assembly>
\ No newline at end of file
src/main/java/net/mingsoft/cms/action/web/ContentAction.java
View file @
d8c23a11
...
...
@@ -28,6 +28,7 @@ import io.swagger.annotations.ApiOperation;
import
net.mingsoft.base.entity.ResultData
;
import
net.mingsoft.basic.bean.EUListBean
;
import
net.mingsoft.basic.util.BasicUtil
;
import
net.mingsoft.cms.bean.ContentBean
;
import
net.mingsoft.cms.biz.IContentBiz
;
import
net.mingsoft.cms.biz.IHistoryLogBiz
;
import
net.mingsoft.cms.entity.ContentEntity
;
...
...
@@ -98,7 +99,7 @@ public class ContentAction extends net.mingsoft.cms.action.BaseAction{
})
@RequestMapping
(
"/list"
)
@ResponseBody
public
ResultData
list
(
@ModelAttribute
@ApiIgnore
Content
Entity
content
,
HttpServletResponse
response
,
HttpServletRequest
request
,
@ApiIgnore
ModelMap
model
,
BindingResult
result
)
{
public
ResultData
list
(
@ModelAttribute
@ApiIgnore
Content
Bean
content
,
HttpServletResponse
response
,
HttpServletRequest
request
,
@ApiIgnore
ModelMap
model
,
BindingResult
result
)
{
BasicUtil
.
startPage
();
List
contentList
=
contentBiz
.
query
(
content
);
return
ResultData
.
build
().
success
(
new
EUListBean
(
contentList
,(
int
)
BasicUtil
.
endPage
(
contentList
).
getTotal
()));
...
...
src/main/resources/application.yml
View file @
d8c23a11
...
...
@@ -86,7 +86,6 @@ spring:
charset
:
utf-8
enabled
:
true
mybatis-plus
:
global-config
:
db-config
:
...
...
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