up
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package routers
|
package routers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"saas/models"
|
"saas/models"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
@@ -41,8 +42,8 @@ func V1_user_api(r *gin.RouterGroup) {
|
|||||||
Return_json(ctx, "user_name_dup", nil)
|
Return_json(ctx, "user_name_dup", nil)
|
||||||
} else {
|
} else {
|
||||||
//fmt.Println("用户不存在")
|
//fmt.Println("用户不存在")
|
||||||
models.DB.Create(&newUser) // 传入指针
|
dd := models.DB.Create(&newUser) // 传入指针
|
||||||
|
fmt.Println(dd)
|
||||||
//创建info
|
//创建info
|
||||||
|
|
||||||
Return_json(ctx, "api_ok", nil)
|
Return_json(ctx, "api_ok", nil)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
<footer class="footer footer-transparent d-print-none">
|
<footer class="footer footer-transparent d-print-none ">
|
||||||
<div class="container-xl">
|
<div class="container-xl">
|
||||||
<div class="row text-center align-items-center flex-row-reverse">
|
<div class="row text-center align-items-center flex-row-reverse">
|
||||||
<div class="col-lg-auto ms-lg-auto">
|
<div class="col-lg-auto ms-lg-auto">
|
||||||
@@ -50,6 +50,54 @@
|
|||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<div class="offcanvas my_offcanvas_top alert alert-important alert-dismissible" role="alert" tabindex="-1" id="offcanvas">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div>
|
||||||
|
<!-- Download SVG icon from http://tabler-icons.io/i/check -->
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon alert-icon" width="24" height="24"
|
||||||
|
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
|
||||||
|
stroke-linejoin="round">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||||
|
<path d="M5 12l5 5l10 -10"></path>
|
||||||
|
</svg>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon alert-icon" width="24" height="24"
|
||||||
|
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
|
||||||
|
stroke-linejoin="round">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||||
|
<path
|
||||||
|
d="M10.24 3.957l-8.422 14.06a1.989 1.989 0 0 0 1.7 2.983h16.845a1.989 1.989 0 0 0 1.7 -2.983l-8.423 -14.06a1.989 1.989 0 0 0 -3.4 0z">
|
||||||
|
</path>
|
||||||
|
<path d="M12 9v4"></path>
|
||||||
|
<path d="M12 17h.01"></path>
|
||||||
|
</svg>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon alert-icon" width="24" height="24"
|
||||||
|
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
|
||||||
|
stroke-linejoin="round">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||||
|
<path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"></path>
|
||||||
|
<path d="M12 8v4"></path>
|
||||||
|
<path d="M12 16h.01"></path>
|
||||||
|
</svg>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
||||||
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
||||||
|
class="icon icon-tabler icons-tabler-outline icon-tabler-brand-hipchat">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
||||||
|
<path
|
||||||
|
d="M17.802 17.292s.077 -.055 .2 -.149c1.843 -1.425 3 -3.49 3 -5.789c0 -4.286 -4.03 -7.764 -9 -7.764c-4.97 0 -9 3.478 -9 7.764c0 4.288 4.03 7.646 9 7.646c.424 0 1.12 -.028 2.088 -.084c1.262 .82 3.104 1.493 4.716 1.493c.499 0 .734 -.41 .414 -.828c-.486 -.596 -1.156 -1.551 -1.416 -2.29z" />
|
||||||
|
<path d="M7.5 13.5c2.5 2.5 6.5 2.5 9 0" />
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div id="alertText">
|
||||||
|
123
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="btn-close" data-bs-dismiss="offcanvas" aria-label="close"></a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- CSS files -->
|
<!-- CSS files -->
|
||||||
<link href="/dist/css/tabler.min.css?1692870487" rel="stylesheet" />
|
<link href="/dist/css/tabler.min.css?1692870487" rel="stylesheet" />
|
||||||
<link href="/dist/css/tabler-flags.min.css?1692870487" rel="stylesheet" />
|
<link href="/dist/css/tabler-flags.min.css?1692870487" rel="stylesheet" />
|
||||||
@@ -80,6 +128,10 @@
|
|||||||
<script src="/dist/js/axios.min.js"></script>
|
<script src="/dist/js/axios.min.js"></script>
|
||||||
<script src="/dist/js/jquery-3.7.1.min.js"></script>
|
<script src="/dist/js/jquery-3.7.1.min.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user