Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdz_gateway_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_gateway_v2
Commits
85be0ea8
Commit
85be0ea8
authored
Dec 05, 2018
by
yangsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
overcontroller 更换口子取消比对逻辑好
parent
39086e2f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
9 deletions
+2
-9
.env
+1
-1
.idea/workspace.xml
+0
-0
.staging
+1
-1
application/controller/business/charger/OverController.php
+0
-7
No files found.
.env
View file @
85be0ea8
...
...
@@ -33,4 +33,4 @@ MESSAGE_SHED_TIMEOUT=rdzTNQ7t4uRXkP0SkuwW10WH77A_CIgYFiJykXJ0utU
MESSAGE_CHARGER_SHED=C0LvfETe-1rCR_IhOydDGPTUwwYkrWZxgfwMsETrhw8
DOWNLOAD_HOST=https://cdzpay.test.senthink.com
LOW_POWER_LIMIT=30
PAY_HOST=https://cdzpay.test.senthink.com
.idea/workspace.xml
View file @
85be0ea8
This diff is collapsed.
Click to expand it.
.staging
View file @
85be0ea8
...
...
@@ -23,7 +23,7 @@ REDIS_PORT=6379
LOG_LEVEL=debug
MESSAGE_API_URL=https://cdzback2.staging.senthink.com
MESSAGE_START=W-MxqrGTUD9K3FiP5WsZvooam5LZdeCmFq7TqrZwoM4
MESSAGE_FAIL=b9Q6ZeQ6qDpuxymHcvlh0tX1GFV1Pzc_
o
0DOLIsnRNg
MESSAGE_FAIL=b9Q6ZeQ6qDpuxymHcvlh0tX1GFV1Pzc_
O
0DOLIsnRNg
MESSAGE_POWER_EXCEED=euUQrXFejUeyyxJbfaZQaRQfnXSqi05XMFLNfIsC0vA
MESSAGE_FINISH_USER=mHD4sJPOYpYLcqWhQnRpJ-PQ99i_69tEZCK_w0NCI_c
MESSAGE_PORT_SHED=C0LvfETe-1rCR_IhOydDGPTUwwYkrWZxgfwMsETrhw8
...
...
application/controller/business/charger/OverController.php
View file @
85be0ea8
...
...
@@ -67,13 +67,6 @@ class OverController extends Controller
if
(
$portId
!==
0
)
{
$this
->
logRecord
->
setPortId
(
$portId
);
}
// 逻辑地址不相同则认为已经更换过口子
if
(
$logicId
!=
$order
->
getPortLogicId
())
{
$this
->
response
->
send
(
'15'
,
sprintf
(
'%02x'
,
$logicId
)
.
sprintf
(
'%012x'
,
$orderId
));
return
;
}
if
(
Gateway
::
isUidOnline
(
$order
->
getUserId
())
===
1
)
{
Gateway
::
sendToUid
(
$order
->
getUserId
(),
json_encode
([
'code'
=>
10000
]));
...
...
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