2019-12-19 14:47:58 +08:00
|
|
|
/***************************************************
|
|
|
|
** @Desc : This file for ...
|
|
|
|
** @Time : 2019/11/19 17:48
|
|
|
|
** @Author : yuebin
|
|
|
|
** @File : init_all
|
|
|
|
** @Last Modified by : yuebin
|
|
|
|
** @Last Modified time: 2019/11/19 17:48
|
|
|
|
** @Software: GoLand
|
|
|
|
****************************************************/
|
|
|
|
package service_init
|
|
|
|
|
|
|
|
import (
|
2020-11-17 12:17:40 +08:00
|
|
|
"dongfeng-pay/service/controller"
|
2019-12-19 16:43:20 +08:00
|
|
|
_ "dongfeng-pay/service/message_queue"
|
|
|
|
"dongfeng-pay/service/models"
|
2019-12-19 14:47:58 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
func InitAll() {
|
|
|
|
//初始化mysql
|
|
|
|
models.Init()
|
|
|
|
controller.Init()
|
|
|
|
}
|