Commit f49a5037 by 杨苏杭

去除调试

parent 811138fb
......@@ -13,6 +13,8 @@ class UnrealCardsController extends Controller
public function index()
{
$userId = \Auth::id();
$unrealCards = UnrealCardModel::where('user_id', $userId)->paginate(15);
return $this->response->array($this->getResponseCode() + ['data' => $unrealCards]);
}
......
......@@ -103,8 +103,6 @@ class Frequency
$this->topCount = $stationCount;
$this->topStation = $result;
$this->topStation = $tmp;
return $this->topStation;
......
......@@ -85,7 +85,7 @@ $api->version('v1', ['namespace' => 'App\Http\Controllers\V1', 'prefix' => 'api/
//获取用户余额
$api->get('user/balance', ['uses' => 'Charger\BalanceController@getBalance']);
//钱包支付充值
//钱包支付充电
$api->post('balance/charger', ['uses' => 'Charger\BalanceController@pay']);
//用户正在消费的订单
......@@ -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->get('charger', 'TestController@charger');
$api->get('stop', 'TestController@stop');
$api->get('refund', 'TestController@refund');
$api->get('send', 'TestController@send');
// $api->get('charger', 'TestController@charger');
//
// $api->get('stop', 'TestController@stop');
//
// $api->get('refund', 'TestController@refund');
//
// $api->get('send', 'TestController@send');
$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