Coder Social home page Coder Social logo

order_system's Introduction

功能介绍

基于go语言开发的工单后台管理系统

发单人发布工单,收单人处理工单。 管理员对于人员做审计和工单做审计及上传公告

流程示意图:

流程图

开发环境

go version go1.13.6 windows/amd64
github.com/astaxie/beego v1.12.1
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/gofrs/uuid v3.2.0+incompatible
github.com/jinzhu/gorm v1.9.12

mariadb[5.6]

部署要求

##Centos 7/8 firewall 开启8080 修改配置文件的mysql链接地址 导入sql文件(sql 文件在 conf 目录)

#1 配置数据库
yum install mariadb 
firewall-cmd --add-port=3306/tcp --permanent 
mysql 
source /xxx/xxx/conf/backup_2020-5-3.sql
grant all on ticket_system.* to "xx"@"%" identified by 'passowrd';

#2 修改conf文件夹下的app.conf文件带##都是需要自定义的
appname = OrdsOrder
httpport = 8080 ##
runmode = dev
copyrequestbody = true
mysqluser = "root"  ##
mysqlpass = "123123" ##
mysqlurls = "192.168.1.119" ##
mysqldb   = "ticket_system" ##

#3 修改conf文件夹下的order.service,然后将文件拷贝到/usr/lib/systemd/system/ 
#  systemctl enable order.service --new
[Unit]
Description=Sys order server damon 
After=network-online.target
Wants=network-online.target

[Service]
# modify when deploy in prod env
User=root ##
Group=root ##

Type=simple
ExecStart=/xxx/xxx/OrdsOrder ## 你的执行文件的路径
WorkingDirectory=/xxx/xxx/ ##执行文件的目录

Restart=always
RestartSec=1
StartLimitInterval=0

[Install]
WantedBy=multi-user.target

实现效果

homepage

pu'sh

人员审计

order_system's People

Contributors

haozheyu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.