提交 94e9f198 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

Merge branches 'gva_gormv2_dev' and 'gva_workflow' of...

Merge branches 'gva_gormv2_dev' and 'gva_workflow' of https://github.com/flipped-aurora/gin-vue-admin into gva_workflow
...@@ -39,7 +39,8 @@ var initdbCmd = &cobra.Command{ ...@@ -39,7 +39,8 @@ var initdbCmd = &cobra.Command{
4. sqlserver未适配`, 4. sqlserver未适配`,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
path, _ := cmd.Flags().GetString("path") path, _ := cmd.Flags().GetString("path")
core.Viper(path) global.GVA_VP = core.Viper(path)
global.GVA_LOG = core.Zap() // 初始化zap日志库
db := initialize.GormMysql() db := initialize.GormMysql()
switch global.GVA_CONFIG.System.DbType { switch global.GVA_CONFIG.System.DbType {
case "mysql": case "mysql":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册