前端组件调整,剔除无用文件
This commit is contained in:
@@ -36,7 +36,7 @@ class Admin extends BaseController {
|
||||
protected function success($msg, $url = ''){
|
||||
$this->data['code'] = 0;
|
||||
$this->data['msg'] = $msg;
|
||||
$this->data['url'] = $url->__toString();
|
||||
$this->data['url'] = $url ? $url->__toString() : '';
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user