From d946c5018af1e9023df9a0b00a79b8329027d05d Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 19 Jul 2021 10:47:38 +0800 Subject: [PATCH] aa --- business/jxstore/tempop/tempop.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 2001470a2..6cf782065 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -7,6 +7,7 @@ import ( "crypto/sha1" "fmt" "git.rosy.net.cn/jx-callback/business/auth2" + "git.rosy.net.cn/jx-callback/business/jxstore/permission" "net" "regexp" "strings" @@ -1982,6 +1983,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { user.BindStoreID = store.ID user.BindStoreUser = store.Tel1 dao.UpdateEntity(db, user, "BindStoreID", "BindStoreUser") + permission.UpdateUserRole(ctx, []string{user.UserID}, []int{24}) } else { //注册 }