swagger doc

This commit is contained in:
glovetleong
2021-08-20 20:12:11 +08:00
parent 6ca3e2dc71
commit be6094f163
4 changed files with 1044 additions and 706 deletions
@@ -36,7 +36,6 @@ class ContractObligationContractDependencyModule extends BaseController
$contract_obligation_hash_id = $contract_obligation_id = $request->get('contract_obligation_id', []);
$name = $request->get('name', null);
$status = $request->get('status', []);
$page = $request->get('page', null);
$limit = $request->get('limit', 10);
@@ -48,10 +47,6 @@ class ContractObligationContractDependencyModule extends BaseController
$query->whereIn('contract_obligation_id', $contract_obligation_id);
}
if (strlen($name) > 0) {
$query->where('name', 'like', '%' . $name . '%');
}
if (!empty($status) > 0) {
$query->whereIn('status', $status);
}