代码提交

This commit is contained in:
wong
2025-12-23 17:01:59 +08:00
parent 0ac84bd033
commit 4f2b34522f
3 changed files with 45 additions and 26 deletions

View File

@@ -95,7 +95,7 @@ class ContentLibraryController extends Controller
// 来源类型
'sourceType' => $sourceType, // 1=好友2=群3=好友和群
// 表单类型
'formType' => isset($param['formType']) ? intval($param['formType']) : 0, // 表单类型默认为0
'formType' => isset($param['formType']) ? intval($param['formType']) : 1, // 表单类型默认为0
// 基础信息
'status' => isset($param['status']) ? $param['status'] : 0, // 状态0=禁用1=启用
'userId' => $this->request->userInfo['id'],
@@ -131,7 +131,7 @@ class ContentLibraryController extends Controller
$limit = $this->request->param('limit', 10);
$keyword = $this->request->param('keyword', '');
$sourceType = $this->request->param('sourceType', ''); // 来源类型1=好友2=群
$formType = $this->request->param('formType', ''); // 表单类型筛选
$formType = $this->request->param('formType', 0); // 表单类型筛选
$companyId = $this->request->userInfo['companyId'];
$userId = $this->request->userInfo['id'];
$isAdmin = !empty($this->request->userInfo['isAdmin']);