Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdz_pay_v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨苏杭
cdz_pay_v2
Commits
f49a5037
Commit
f49a5037
authored
Apr 30, 2019
by
杨苏杭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除调试
parent
811138fb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
app/Http/Controllers/V1/Wx/UnrealCardsController.php
+2
-0
lib/statistic/station/Frequency.php
+0
-2
routes/web.php
+8
-8
No files found.
app/Http/Controllers/V1/Wx/UnrealCardsController.php
View file @
f49a5037
...
@@ -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
]);
}
}
...
...
lib/statistic/station/Frequency.php
View file @
f49a5037
...
@@ -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
;
...
...
routes/web.php
View file @
f49a5037
...
@@ -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'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment