|
@ -325,4 +325,12 @@ class ExpressTemplateController extends Controller |
|
|
'expressTemplateModel' => $expressTemplateModel |
|
|
'expressTemplateModel' => $expressTemplateModel |
|
|
]); |
|
|
]); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function actionExpressAreaDelete($id) |
|
|
|
|
|
{ |
|
|
|
|
|
$expressAreaModel = ExpressArea::findOne($id); |
|
|
|
|
|
$expressTemplateId = $expressAreaModel->express_template; |
|
|
|
|
|
$expressAreaModel->delete(); |
|
|
|
|
|
return $this->redirect('express-area-list?id='.$expressTemplateId); |
|
|
|
|
|
} |
|
|
} |
|
|
} |