Commit b8f420eb authored by rlgy's avatar rlgy

币种删除

parent 2b85dcd2
...@@ -147,7 +147,7 @@ class CoinController extends BaseController ...@@ -147,7 +147,7 @@ class CoinController extends BaseController
$model = Coin::findOne(['id' => $id]); $model = Coin::findOne(['id' => $id]);
if ($model) { if ($model) {
try { try {
// $model->delete(); $model->delete();
$this->success('删除成功', '/admin/coin/index', true); $this->success('删除成功', '/admin/coin/index', true);
} catch (\Throwable $t) { } catch (\Throwable $t) {
} catch (\Exception $e) { } catch (\Exception $e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment