Commit f49a5037 by 杨苏杭

去除调试

parent 811138fb
...@@ -13,6 +13,8 @@ class UnrealCardsController extends Controller ...@@ -13,6 +13,8 @@ class UnrealCardsController extends Controller
public function index() public function index()
{ {
$userId = \Auth::id(); $userId = \Auth::id();
$unrealCards = UnrealCardModel::where('user_id', $userId)->paginate(15); $unrealCards = UnrealCardModel::where('user_id', $userId)->paginate(15);
return $this->response->array($this->getResponseCode() + ['data' => $unrealCards]); return $this->response->array($this->getResponseCode() + ['data' => $unrealCards]);
} }
......
...@@ -103,8 +103,6 @@ class Frequency ...@@ -103,8 +103,6 @@ class Frequency
$this->topCount = $stationCount; $this->topCount = $stationCount;
$this->topStation = $result;
$this->topStation = $tmp; $this->topStation = $tmp;
return $this->topStation; return $this->topStation;
......
...@@ -85,7 +85,7 @@ $api->version('v1', ['namespace' => 'App\Http\Controllers\V1', 'prefix' => 'api/ ...@@ -85,7 +85,7 @@ $api->version('v1', ['namespace' => 'App\Http\Controllers\V1', 'prefix' => 'api/
//获取用户余额 //获取用户余额
$api->get('user/balance', ['uses' => 'Charger\BalanceController@getBalance']); $api->get('user/balance', ['uses' => 'Charger\BalanceController@getBalance']);
//钱包支付充值 //钱包支付充电
$api->post('balance/charger', ['uses' => 'Charger\BalanceController@pay']); $api->post('balance/charger', ['uses' => 'Charger\BalanceController@pay']);
//用户正在消费的订单 //用户正在消费的订单
...@@ -116,13 +116,13 @@ $api->version('v1', ['namespace' => 'App\Http\Controllers\V1', 'prefix' => 'api/ ...@@ -116,13 +116,13 @@ $api->version('v1', ['namespace' => 'App\Http\Controllers\V1', 'prefix' => 'api/
$api->post('refresh/token', ['as' => 'wx.refresh.token', 'uses' => 'Wx\AccessController@refreshToken']); $api->post('refresh/token', ['as' => 'wx.refresh.token', 'uses' => 'Wx\AccessController@refreshToken']);
$api->get('charger', 'TestController@charger'); // $api->get('charger', 'TestController@charger');
//
$api->get('stop', 'TestController@stop'); // $api->get('stop', 'TestController@stop');
//
$api->get('refund', 'TestController@refund'); // $api->get('refund', 'TestController@refund');
//
$api->get('send', 'TestController@send'); // $api->get('send', 'TestController@send');
$api->any('receiver', 'Wx\ReceiverController@index'); $api->any('receiver', 'Wx\ReceiverController@index');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment