...
|
...
|
@@ -137,7 +137,7 @@ class Bind extends Api |
|
|
/**
|
|
|
* @ApiTitle (活动现场[扫码])
|
|
|
* @ApiMethod (POST)
|
|
|
* @ApiParams (name="items_id", type="string", required=true, description="项目id")
|
|
|
* @ApiParams (name="id", type="string", required=true, description="项目id")
|
|
|
* @ApiParams (name="unique", type="string", required=true, description="条形码唯一标识")
|
|
|
* @ApiReturn ({
|
|
|
"code":"状态码",
|
...
|
...
|
@@ -148,7 +148,7 @@ class Bind extends Api |
|
|
}
|
|
|
})
|
|
|
*/
|
|
|
public function Ewm()
|
|
|
public function scanBarCode()
|
|
|
{
|
|
|
$id = $this->request->param('id');
|
|
|
$unique = $this->request->param('unique');
|
...
|
...
|
@@ -168,7 +168,7 @@ class Bind extends Api |
|
|
'study_id' => $study['id'],
|
|
|
'team_id' => $study['team_id'],
|
|
|
'score' => $item['score'],
|
|
|
'memo' => $study['name'] . '参加' . $item['title'] . '项目给' . $team['title'] . '加分',
|
|
|
'memo' => $study['name'] . '参加' . $item['title'] . '加分',
|
|
|
'createtime' => time()
|
|
|
]);
|
|
|
db('study')
|
...
|
...
|
|