Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 655 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 655 Bytes

基于Gin + Ant Design Pro的前后端分离管理系统

快速启动

1.下载代码

git clone https://github.com/feihua/simple-go.git

2.修改配置

vim config/app.ini

[mysql]
host = 127.0.0.1
port = 3306
database = simple-go
username = root
password = 123456

3.启动

make && make restart

4.验证

curl -X POST \
     -H "Content-Type: application/json" \
     -d '{
             "mobile": "18613030352",
             "password": "123456"
         }' \
     "{{host}}:6677/api/user/login"

请将{{host}}替换为实际的服务器主机地址或域名。这段cURL命令执行