mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-12 14:52:07 +08:00
[优化]大改动,指令下发采用规则链rpc请求
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"github.com/PandaXGO/PandaKit/biz"
|
||||
"pandax/apps/job/entity"
|
||||
"pandax/pkg/global"
|
||||
"pandax/pkg/tool"
|
||||
"pandax/pkg/global_model"
|
||||
)
|
||||
|
||||
type (
|
||||
@@ -43,7 +43,7 @@ func (m *JobLogModelImpl) FindListPage(page, pageSize int, data entity.JobLog) (
|
||||
}
|
||||
|
||||
// 组织数据访问权限
|
||||
tool.OrgAuthSet(db, data.RoleId, data.Owner)
|
||||
global_model.OrgAuthSet(db, data.RoleId, data.Owner)
|
||||
|
||||
err := db.Count(&total).Error
|
||||
err = db.Order("create_time desc").Limit(pageSize).Offset(offset).Find(&list).Error
|
||||
|
||||
Reference in New Issue
Block a user