1
This commit is contained in:
parent
0112ea1ca5
commit
53f84a4473
@ -5,6 +5,7 @@ import (
|
|||||||
"main/constant"
|
"main/constant"
|
||||||
"main/middleware"
|
"main/middleware"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"q5"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
@ -112,6 +113,7 @@ func (this *VIPApi) Bind(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
ts := f5.GetApp().GetRealSeconds()
|
||||||
var dbErr error
|
var dbErr error
|
||||||
f5.GetGoStyleDb().Insert(
|
f5.GetGoStyleDb().Insert(
|
||||||
constant.BCNFT_DB,
|
constant.BCNFT_DB,
|
||||||
@ -119,6 +121,8 @@ func (this *VIPApi) Bind(c *gin.Context) {
|
|||||||
[][]string{
|
[][]string{
|
||||||
{"account_address", accountAddress},
|
{"account_address", accountAddress},
|
||||||
{"passport_address", passport_addr},
|
{"passport_address", passport_addr},
|
||||||
|
{"createtime", q5.ToString(ts)},
|
||||||
|
{"modifytime", q5.ToString(ts)},
|
||||||
},
|
},
|
||||||
func(err error, lastInsertId int64, rowsAffected int64) {
|
func(err error, lastInsertId int64, rowsAffected int64) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user