Skip to content

Commit

Permalink
微信小程序后台管理项目搭建
Browse files Browse the repository at this point in the history
  • Loading branch information
cuiqyu committed Jun 3, 2018
1 parent 2869d9e commit 4a76ded
Show file tree
Hide file tree
Showing 3,649 changed files with 649,619 additions and 2 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Windows-specific files that require CRLF:
*.bat eol=crlf
*.txt eol=crlf

# Unix-specific files that require LF:
*.java eol=lf
*.sh eol=lf
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.mymetadata
.checkstyle
.classpath
.project
.class
.war
.zip
.rar
.idea
*.iml
.settings/*
/indexes/*
/target/*
/src/main/webapp/WEB-INF/classes/*
/src/main/webapp/userfiles/*
/target/
332 changes: 332 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# wxapplication
微信小程序点餐系统
# JeeSite 企业信息化快速开发平台

微信点餐小程序后台
19 changes: 19 additions & 0 deletions bin/clean.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off
rem /**
rem * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
rem *
rem * Author: [email protected]
rem */
echo.
echo [ÐÅÏ¢] ÇåÀíÉú³É·¾¶¡£
echo.
pause
echo.

cd %~dp0
cd..

call mvn clean

cd bin
pause
21 changes: 21 additions & 0 deletions bin/cleanide.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@echo off
rem /**
rem * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
rem *
rem * Author: [email protected]
rem */
echo.
echo [ÐÅÏ¢] ÇåÀíEclipse¹¤³ÌÎļþ¡£
echo.
pause
echo.

cd %~dp0

cd..
call mvn -Declipse.workspace=%cd% eclipse:clean eclipse:eclipse

del .classpath
del .project

pause
19 changes: 19 additions & 0 deletions bin/deploy.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off
rem /**
rem * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
rem *
rem * Author: [email protected]
rem */
echo.
echo [ÐÅÏ¢] Éú³ÉEclipse¹¤³ÌÎļþ¡£
echo.
pause
echo.

cd %~dp0
cd..

call mvn deploy

cd bin
pause
19 changes: 19 additions & 0 deletions bin/eclipse.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off
rem /**
rem * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
rem *
rem * Author: [email protected]
rem */
echo.
echo [ÐÅÏ¢] Éú³ÉEclipse¹¤³ÌÎļþ¡£
echo.
pause
echo.

cd /d %~dp0
cd..

call mvn -Declipse.workspace=%cd% eclipse:clean eclipse:eclipse

cd bin
pause
19 changes: 19 additions & 0 deletions bin/package.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off
rem /**
rem * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
rem *
rem * Author: [email protected]
rem */
echo.
echo [信息] 打包工程,生成war包文件。
echo.
pause
echo.

cd %~dp0
cd..

call mvn clean package -Dmaven.test.skip=true

cd bin
pause
21 changes: 21 additions & 0 deletions bin/run-jetty.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@echo off
rem /**
rem * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
rem *
rem * Author: [email protected]
rem */
title %cd%
echo.
echo [信息] 使用Jetty插件运行工程。
echo.
rem pause
rem echo.

cd %~dp0
cd..

set MAVEN_OPTS=%MAVEN_OPTS% -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m
call mvn jetty:run

cd bin
pause
21 changes: 21 additions & 0 deletions bin/run-tomcat6.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@echo off
rem /**
rem * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
rem *
rem * Author: [email protected]
rem */
title %cd%
echo.
echo [信息] 使用Tomcat6插件运行工程。
echo.
rem pause
rem echo.

cd %~dp0
cd..

set MAVEN_OPTS=%MAVEN_OPTS% -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m
call mvn tomcat6:run

cd bin
pause
21 changes: 21 additions & 0 deletions bin/run-tomcat7.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@echo off
rem /**
rem * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
rem *
rem * Author: [email protected]
rem */
title %cd%
echo.
echo [信息] 使用Tomcat7插件运行工程。
echo.
rem pause
rem echo.

cd %~dp0
cd..

set MAVEN_OPTS=%MAVEN_OPTS% -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m
call mvn tomcat7:run

cd bin
pause
40 changes: 40 additions & 0 deletions bin/versions.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
@echo off
rem /**
rem * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
rem *
rem * Author: [email protected]
rem */
echo.
echo [信息] 更新项目版本号。
echo.
rem pause
echo.

cd %~dp0

set /p new=请输入新版本号:
echo.

pause
echo.
cd ..

rem 更新pom版本号
call mvn versions:set -DnewVersion=%new%

rem 替换 jeesite.properties 中的版本号
echo.
set f=%cd%\src\main\resources\jeesite.properties
echo [INFO] Update %f%
set s1=version=
set s2=version=V%new%
for /f "delims=:" %%a in ('findstr /in "%s1%" "%f%"') do set n=%%a
(for /f "tokens=1* delims=:" %%a in ('findstr /n ".*" "%f%"') do (
if %%a equ %n% ( echo.%s2%) else ( echo.%%b)
))>newfile
echo.
move newfile "%f%" >nul
echo.

cd bin
pause
Loading

0 comments on commit 4a76ded

Please sign in to comment.