测试部分的model
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"log"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/iapologizewhenimwrong/Vestmore_GO/model"
|
||||
"github.com/iapologizewhenimwrong/Vestmore_GO/server/app/internal/handlers/account"
|
||||
"github.com/iapologizewhenimwrong/Vestmore_GO/server/app/internal/handlers/actions"
|
||||
"github.com/iapologizewhenimwrong/Vestmore_GO/utils/cors"
|
||||
@@ -27,8 +26,6 @@ func AppV1_0(ctx *gin.Context) {
|
||||
func main() {
|
||||
log.SetFlags(log.Llongfile)
|
||||
|
||||
model.ModelInit("php:aFk3i4Dj#76!4sd@tcp(47.243.100.6:3306)/zunxinfinance?charset=utf8mb4&timeout=10s")
|
||||
|
||||
r := gin.Default()
|
||||
cors.SetCors(r)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user