Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
07613dd2
Commit
07613dd2
authored
Jan 22, 2019
by
chenchuanwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp
parent
666e71c9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
ShopkeeperService.php
application/models/Business/Store/ShopkeeperService.php
+0
-1
bridgeStart.php
scripts/crontab/push/bridgeStart.php
+1
-1
No files found.
application/models/Business/Store/ShopkeeperService.php
View file @
07613dd2
...
@@ -73,7 +73,6 @@ class ShopkeeperServiceModel extends \Business\AbstractModel
...
@@ -73,7 +73,6 @@ class ShopkeeperServiceModel extends \Business\AbstractModel
$orderTotalOnline
=
$orderTotalOnline
[
'orderTotalOnline'
]
?
$orderTotalOnline
[
'orderTotalOnline'
]
:
ApiConst
::
zero
;
$orderTotalOnline
=
$orderTotalOnline
[
'orderTotalOnline'
]
?
$orderTotalOnline
[
'orderTotalOnline'
]
:
ApiConst
::
zero
;
$goodsCount
=
$totalOrderCount
[
'orderGoodsCount'
];
$goodsCount
=
$totalOrderCount
[
'orderGoodsCount'
];
$orderTotal
=
$totalOrderCount
[
'orderTotal'
];
$orderTotal
=
$totalOrderCount
[
'orderTotal'
];
echo
"1231223"
.
"
\r\n
"
;
$data
[
'storeId'
]
=
$store
[
'store_id'
];
$data
[
'storeId'
]
=
$store
[
'store_id'
];
$data
[
'storeName'
]
=
$store
[
'store_name'
];
$data
[
'storeName'
]
=
$store
[
'store_name'
];
$data
[
'storeLabel'
]
=
$store
[
'store_label'
];
$data
[
'storeLabel'
]
=
$store
[
'store_label'
];
...
...
scripts/crontab/push/bridgeStart.php
View file @
07613dd2
...
@@ -58,7 +58,7 @@ $http->on('Connect', function (swoole_http_server $server, $fd, $reactorThreadId
...
@@ -58,7 +58,7 @@ $http->on('Connect', function (swoole_http_server $server, $fd, $reactorThreadId
$http
->
on
(
'request'
,
function
(
$request
,
$response
)
use
(
$http
)
{
$http
->
on
(
'request'
,
function
(
$request
,
$response
)
use
(
$http
)
{
includ
e
APPLICATION_PATH
.
'/scripts/crontab/common.php'
;
require_onc
e
APPLICATION_PATH
.
'/scripts/crontab/common.php'
;
require
APPLICATION_PATH
.
'/scripts/crontab/push/bridgeBase.php'
;
require
APPLICATION_PATH
.
'/scripts/crontab/push/bridgeBase.php'
;
});
});
$http
->
start
();
$http
->
start
();
...
...
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