diff --git a/internal/model/dto/wecom_scene_dto.go b/internal/model/dto/wecom_scene_dto.go index 03a5fa8..eda2f2a 100644 --- a/internal/model/dto/wecom_scene_dto.go +++ b/internal/model/dto/wecom_scene_dto.go @@ -23,7 +23,7 @@ type InspectWeComTemplateParams struct { // WeComBusinessFieldListParams 查询企业微信审批场景可映射字段路径参数。 type WeComBusinessFieldListParams struct { - BusinessType string `path:"business_type" required:"true" description:"业务类型 (refund_approval:退款审批, offline_recharge_approval:员工线下代充值审批)"` + BusinessType string `path:"business_type" required:"true" enum:"refund_approval,offline_recharge_approval,employee_collection_approval" description:"业务类型 (refund_approval:退款审批, offline_recharge_approval:员工线下代充值审批, employee_collection_approval:员工代收款核销审批)"` } // WeComBusinessFieldResponse 企业微信审批场景可映射业务字段响应。 @@ -67,7 +67,7 @@ type SaveWeComApprovalSceneRequest struct { // SaveWeComApprovalSceneParams 保存企业微信审批场景路径与请求参数。 type SaveWeComApprovalSceneParams struct { - BusinessType string `path:"business_type" required:"true" description:"业务类型 (refund_approval:退款审批, offline_recharge_approval:员工线下代充值审批);可先调用 GET /api/admin/wecom/scenes/{business_type}/fields 查询允许映射的业务字段"` + BusinessType string `path:"business_type" required:"true" enum:"refund_approval,offline_recharge_approval,employee_collection_approval" description:"业务类型 (refund_approval:退款审批, offline_recharge_approval:员工线下代充值审批, employee_collection_approval:员工代收款核销审批);可先调用 GET /api/admin/wecom/scenes/{business_type}/fields 查询允许映射的业务字段"` SaveWeComApprovalSceneRequest }