1Panel/backend/init/business/business.go

14 lines
289 B
Go
Raw Normal View History

2022-11-23 17:44:24 +08:00
package business
import (
"github.com/1Panel-dev/1Panel/backend/app/service"
"github.com/1Panel-dev/1Panel/backend/global"
)
func Init() {
appService := service.AppService{}
if err := appService.SyncAppList(); err != nil {
global.LOG.Errorf("sync app error: %s", err.Error())
}
}