1 Star 0 Fork 195

xcgOpenR / coffeewx-web-ui

forked from Kevin / coffeewx-web-ui
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

简介

CoffeeWx是一款基于VUE、Spring Boot的前后端分离的微信公众号管理系统、支持多公众号。

技术

  • 开发语言:Java
  • 数据库:Mysql
  • 前端框架:Vue + Axios
  • 后端框架:Spring Boot
  • 缓存:Redis
  • 工具类集合:Hutool
  • 和微信端对接工具:weixin-java-tools
  • 内网穿透工具:Natapp

项目截图

输入图片说明

项目演示地址

   演示账号:test/test123456
   管理员账号:admin/admin123456【自觉点,莫要乱操作】

公众号配置流程

公众号url配置表达式

http://{域名}/api/wx/portal/{appid}
例子:http://coffee-ease.natapp1.cc/api/wx/portal/wxff7bf2c34c65e260

前后端项目地址

coffeewx-web-ui 打包部署


1、修改打包对应环境的配置文件
例如:打包prod环境
修改/coffeewx-web-ui/config/prod中的BASE_API变量,修改为对应后台地址
2、打包部署
$ npm install
$ npm run dev
$ npm run build:prod

coffeewx-admin-api 打包部署

1、修改/resources/application-prod.properties配置文件中对应配置,根据部署环境不同,切换配置文件
   mvn clean package -DskipTests -Pprod
2、Copy项目中/bin目录下三个脚本,和打包之后的coffeewx-admin-api-1.0.jar文件放在同一个目录
3、脚本授权
    chmod +x startup.sh
    chmod +x stop.sh
    chmod +x restart.sh
4、启动脚本
    ./startup.sh
    

ngnix配置参考

    location / {
        root   /usr/local/coffeewx/coffeewx-web-ui;
        try_files $uri $uri/ @router;
        index  index.html index.htm;
    }
    
    location @router {
        rewrite ^.*$ /index.html last;
    }
    
    location ^~ /api {
        proxy_pass  http://localhost:9999/api;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header REMOTE-HOST $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        access_log /usr/local/nginx/logs/coffeewx-admin-access.log main;
        error_log /usr/local/nginx/logs/coffeewx-admin-error.log warn;
    }

SQL脚本

/src/test/resources/coffeewx-admin.sql

CodeGenerator代码自动生成工具

注意事项:
1、执行完main方法,生成代码,genCodeByCustomModelName("sys_user","User")
2、修改UserMapper.java,添加findList方法,可参考其他模块。
3、修改UserMapper.xml,添加findList SQL语句,可参考其他模块。
4、运行项目

常见问题

1、项目中使用了lombok插件,自行百度。
2、最好用IDEA开发工具。
3、项目打包之后,可能由于不同环境打包导致配置文件出问题,无法启动,请先删除classes、target目录,重新运行项目。

参考资料

MIT License Copyright (c) 2017-present PanJiaChen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

CoffeeWx是一款基于VUE、Spring Boot的前后端分离的微信公众号管理系统、支持多公众号。QQ交流群:790782152 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/xcgOpenR/coffeewx-web-ui.git
git@gitee.com:xcgOpenR/coffeewx-web-ui.git
xcgOpenR
coffeewx-web-ui
coffeewx-web-ui
master

搜索帮助