aa
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
|||||||
"crypto/sha1"
|
"crypto/sha1"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.rosy.net.cn/jx-callback/business/auth2"
|
"git.rosy.net.cn/jx-callback/business/auth2"
|
||||||
|
"git.rosy.net.cn/jx-callback/business/jxstore/permission"
|
||||||
"net"
|
"net"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -1982,6 +1983,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
user.BindStoreID = store.ID
|
user.BindStoreID = store.ID
|
||||||
user.BindStoreUser = store.Tel1
|
user.BindStoreUser = store.Tel1
|
||||||
dao.UpdateEntity(db, user, "BindStoreID", "BindStoreUser")
|
dao.UpdateEntity(db, user, "BindStoreID", "BindStoreUser")
|
||||||
|
permission.UpdateUserRole(ctx, []string{user.UserID}, []int{24})
|
||||||
} else {
|
} else {
|
||||||
//注册
|
//注册
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user