...
|
...
|
@@ -207,7 +207,7 @@ class Bind extends Api |
|
|
$this->error('参数错误', ['status' => 2]);
|
|
|
}
|
|
|
$model = new StudyScoreLog();
|
|
|
$res = $model->addScore($id,$unique);
|
|
|
$model->addScore($id,$unique);
|
|
|
//halt($res);
|
|
|
$data = db('study')->where('unique', $unique)->field('name,gender')->find();
|
|
|
if ($data['gender'] == 1){
|
...
|
...
|
|