test
This commit is contained in:
@@ -23,8 +23,7 @@ func CreateOrder(ctx *jxcontext.Context, orderType, price int, lng, lat float64)
|
|||||||
db = dao.GetDB()
|
db = dao.GetDB()
|
||||||
order *model.Order
|
order *model.Order
|
||||||
)
|
)
|
||||||
authBinds, err := dao.GetUserBindAuthInfo(dao.GetDB(), ctx.GetUserID(), model.AuthBindTypeAuth, []string{"weixinapp,weixinmini"}, "", "", "")
|
authBinds, err := dao.GetUserBindAuthInfo(db, ctx.GetUserID(), model.AuthBindTypeAuth, []string{"weixinapp,weixinmini"}, "", "", "")
|
||||||
fmt.Println("tttttttttttt", utils.Format4Output(authBinds, false))
|
|
||||||
if len(authBinds) == 0 {
|
if len(authBinds) == 0 {
|
||||||
return "", fmt.Errorf("请绑定微信认证方式!")
|
return "", fmt.Errorf("请绑定微信认证方式!")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user