...
|
...
|
@@ -69,7 +69,9 @@ class AdminScoreController extends AdminBaseController |
|
|
{
|
|
|
$id = $this->request->param('id');
|
|
|
// print_r($param);
|
|
|
$data=Db::name('users_score')->where('id', $id)->find();
|
|
|
Db::name('users_score')->where('id', $id)->update(['status'=>2]);
|
|
|
Db::name('users_score_log')->insert(['score'=>0,'users_id'=>$data['users_id'],'create_time'=>time(),'action'=>'兑换失败']);
|
|
|
$this->success('已拒绝','AdminScore/index');
|
|
|
}
|
|
|
|
...
|
...
|
|