作者 王智

baoxiu

... ... @@ -529,11 +529,10 @@ class Index extends Api
$param = $this->request->param();
if ($param['type'] == 0) {
$is_genghuan = 2;
$status = 0;
} else {
$is_genghuan = 1;
$status = 1;
}
$status = 0;
$res = Db::name('baoxiudan')->where(['id' => $param['id']])->update(
[
'is_genghuan' => $is_genghuan,
... ...