(id, select)
| 138 | } |
| 139 | |
| 140 | getBaseInfo(id, select) { |
| 141 | select = |
| 142 | select || |
| 143 | '_id uid name basepath switch_notice desc group_id project_type env icon color add_time up_time pre_script after_script project_mock_script is_mock_open strice is_json5 tag'; |
| 144 | return this.model |
| 145 | .findOne({ |
| 146 | _id: id |
| 147 | }) |
| 148 | .select(select) |
| 149 | .exec().then(this.handleEnvNullData); |
| 150 | } |
| 151 | |
| 152 | getByDomain(domain) { |
| 153 | return this.model |
no outgoing calls
no test coverage detected