测试部分的model

This commit is contained in:
2024-04-10 17:30:12 +08:00
parent ad3c959586
commit fbef5d56a7
13 changed files with 1497 additions and 622 deletions

View File

@@ -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)