|
|
@ -838,7 +838,7 @@ class GameController extends ThinkController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($id) {
|
|
|
|
if ($id) {
|
|
|
|
$_POST['upt_time'] = $_POST['create_time'] = time();
|
|
|
|
$_POST['upt_time'] = time();
|
|
|
|
$_POST['operater_id'] = is_login();
|
|
|
|
$_POST['operater_id'] = is_login();
|
|
|
|
$upt = M('partner_divide_warn', 'tab_')->where(['id'=>$id])->save($_POST);
|
|
|
|
$upt = M('partner_divide_warn', 'tab_')->where(['id'=>$id])->save($_POST);
|
|
|
|
return $upt ? $this->success("更新成功") : $this->error("更新失败");
|
|
|
|
return $upt ? $this->success("更新成功") : $this->error("更新失败");
|
|
|
|