|
@@ -2521,6 +2521,9 @@ func GetShareCompanyPermissionButton(roleTypeCode, statuses string, productId in
|
|
|
|
|
|
// AddWxUserMoveLog 添加用户移动日志记录
|
|
|
func AddWxUserMoveLog(wxUser *models.WxUser, adminUser *system.Admin, newCompanyId int) (err error) {
|
|
|
+ if wxUser.CompanyId == newCompanyId {
|
|
|
+ return
|
|
|
+ }
|
|
|
defer func() {
|
|
|
if err != nil {
|
|
|
go alarm_msg.SendAlarmMsg("添加用户移动日志记录失败,AddWxUserMoveLog "+fmt.Sprint("UserId:", wxUser.UserId, ";err:", err), 3)
|