find($model->code_module_category_guid); if (!$category) { throwErrorMsg("当前代码块所属类目不存在!"); } $model->customer_guid = $category->customer_guid; } }