mh_goadmin_server/config/settings.yml
chenlin 4124d8862a 1.sys_user表增加uid字段;
2.优化新增/编辑商品资料接口,统一入参,新增商品条码字段;
3.修改库存详情接口,新增扫码字段,添加校验逻辑;
4.新增扫码模糊查询接口;
5.优化新增/编辑零售订单接口;
6.新增查询零售明细接口及excel导出逻辑;
7.新增查询小票数据接口;
8.优化用户登陆接口,内部员工小程序侧可使用erp功能;
2024-01-06 16:48:35 +08:00

58 lines
1.8 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

settings:
application:
# dev开发环境 test测试环境 prod线上环境
mode: dev
# 服务器ip默认使用 0.0.0.0
# host: 192.168.1.109
host: 0.0.0.0
# 服务名称
name: mh_service
# 端口号
port: 8002 # 服务端口号
readtimeout: 1
writertimeout: 2
# 数据权限功能开关
enabledp: false
logger:
# 日志存放路径
path: ./temp/logs
# 控制台日志
stdout: true
# 日志等级
level: all
# 业务日志开关
enabledbus: true
# 请求日志开关
enabledreq: false
# 数据库日志开关 dev模式将自动开启
enableddb: true
# 自动任务日志开关 dev模式将自动开启
enabledjob: false
jwt:
# token 密钥,生产环境时及的修改
secret: go-admin
# secret: adminqYrhCcQRvVNAaEo4h4osoW
# token 过期时间 单位:秒
timeout: 3600
database:
# 数据库类型 mysqlsqlite3 postgres
driver: mysql
# 数据库连接字符串 mysql 缺省信息 charset=utf8&parseTime=True&loc=Local&timeout=1000ms
# source: root:myTest@921@tcp(127.0.0.1:3306)/mh_dev?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
source: mh_dev:d9qy46ONI0ZTF9eH@tcp(112.33.14.191:3306)/mh_dev?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
# source: mh_pro:c5JBW3X6EEVQluYM@tcp(39.108.188.218:3306)/mh_pro?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
gen:
# 代码生成读取的数据库名称
dbname: dbname
# 代码生成是使用前端代码存放位置需要指定到src文件夹相对路径
frontpath: ../go-admin-ui/src
export:
path: /Users/max/Documents/
url: http://39.108.188.218:8000/img/export/
# path: /www/server/images/export/
# url: https://dev.admin.deovo.com/load/export/