| xqd
@@ -169,7 +169,7 @@ class AgentController extends Controller
|
|
|
$ok = $this->repository->update(request('id'),$data);
|
|
|
if($ok) {
|
|
|
$url[] = array('url'=>U( 'Album/Agent/index'),'title'=>'返回列表');
|
|
|
- return $this->showMessage('操作成功',urldecode(request('_referer')));
|
|
|
+ $this->showMessage('添加成功',$url);
|
|
|
}else{
|
|
|
$url[] = array('url'=>U( 'Album/Agent/index'),'title'=>'返回列表');
|
|
|
return $this->showWarning('操作失败',$url);
|