示例#1
0
        public ResponseMessage UpdateOrderBy(long ProjectID, [FromBody] List <Page> config)
        {
            // 判断是否有权限
            var userproject = _UserManage.GetUserProject(_TenantManage.user.ID, ProjectID);

            if (userproject == null)
            {
                return(new ResponseMessage(MessageResult.Error, "项目不存在"));
            }
            _UserManage.UpdateOrderBy(ProjectID, config);

            return(new ResponseMessage(MessageResult.Success, "", null));
        }