(id, value)
| 311 | ); |
| 312 | } |
| 313 | getcustomFieldValue(id, value) { |
| 314 | return this.model |
| 315 | .find({ |
| 316 | project_id: id, |
| 317 | custom_field_value: value |
| 318 | }) |
| 319 | .select( |
| 320 | 'title uid path method edit_uid status desc add_time up_time type query_path req_query req_headers req_params req_body_type req_body_form req_body_other res_body_type custom_field_value' |
| 321 | ) |
| 322 | .exec(); |
| 323 | } |
| 324 | |
| 325 | listCount(option) { |
| 326 | return this.model.countDocuments(option); |