update
This commit is contained in:
parent
7430df889b
commit
ea2ad715b6
@ -86,8 +86,11 @@ class SupervisionMaterialEntryDetailController extends BaseAdminController
|
||||
public function delete()
|
||||
{
|
||||
$params = (new SupervisionMaterialEntryDetailValidate())->post()->goCheck('delete');
|
||||
SupervisionMaterialEntryDetailLogic::delete($params);
|
||||
return $this->success('删除成功', [], 1, 1);
|
||||
$result = SupervisionMaterialEntryDetailLogic::delete($params);
|
||||
if (true === $result) {
|
||||
return $this->success('删除成功', [], 1, 1);
|
||||
}
|
||||
return $this->fail(SupervisionMaterialEntryDetailLogic::getError());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user