|
|
|
@ -958,7 +958,7 @@ class GameController extends ThinkController
|
|
|
|
|
"key"=>$partner_name,
|
|
|
|
|
"url"=>U("Game/devide_warn_list",array("partner_id"=>$_POST['partner_id']))
|
|
|
|
|
));
|
|
|
|
|
return $upt ? $this->success("更新成功") : $this->error("更新失败");
|
|
|
|
|
return $upt ? $this->success("更新成功", U('Game/devide_warn_list')) : $this->error("更新失败");
|
|
|
|
|
} else {
|
|
|
|
|
if (M('partner_divide_warn', 'tab_')->where(['partner_id'=>$_POST['partner_id'], 'status'=>1])->find()) {
|
|
|
|
|
return $this->error('已有当前合作伙伴的预警设置');
|
|
|
|
|