|
@@ -146,6 +146,8 @@ class AdvertiseController extends BaseController
|
|
$position = $request->input('position','');
|
|
$position = $request->input('position','');
|
|
$params = compact('uid','bid','position');
|
|
$params = compact('uid','bid','position');
|
|
$params['created_at'] = $params['updated_at'] = date('Y-m-d H:i:s');
|
|
$params['created_at'] = $params['updated_at'] = date('Y-m-d H:i:s');
|
|
|
|
+ $ua = $_SERVER['HTTP_USER_AGENT'];
|
|
|
|
+ $params['remark'] = $ua;
|
|
DB::table('advertise_access_rec')->insert($params);
|
|
DB::table('advertise_access_rec')->insert($params);
|
|
return response()->success();
|
|
return response()->success();
|
|
}
|
|
}
|