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
4a0a74c9
Commit
4a0a74c9
authored
Sep 04, 2018
by
banice
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
a9d040c3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletions
+5
-1
.idea/workspace.xml
+0
-0
application/controller/accept/AccessController.php
+4
-1
lib/cdz/order/Order.php
+1
-0
No files found.
.idea/workspace.xml
View file @
4a0a74c9
This diff is collapsed.
Click to expand it.
application/controller/accept/AccessController.php
View file @
4a0a74c9
...
...
@@ -236,7 +236,6 @@ class AccessController extends Controller
$deviceModel
->
update
([
'logic_num'
=>
$logicId
],
'id = '
.
$portId
);
}
$order
=
new
Order
();
$responseOrder
=
[];
$offlineReason
=
hexdec
(
substr
(
$this
->
message
,
-
4
,
2
));
...
...
@@ -245,6 +244,8 @@ class AccessController extends Controller
foreach
(
$portsId
as
$portId
)
{
$order
=
new
Order
();
$port
->
setPortId
(
$portId
);
$orderId
=
$port
->
getPortUsingOrderId
();
...
...
@@ -277,6 +278,8 @@ class AccessController extends Controller
}
unset
(
$order
);
}
$logicStart
=
sprintf
(
'%02x'
,
$logicStart
);
...
...
lib/cdz/order/Order.php
View file @
4a0a74c9
...
...
@@ -201,6 +201,7 @@ class Order
}
foreach
(
$this
->
orderCache
as
$key
=>
$value
)
{
$this
->
$key
=
$value
;
}
...
...
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