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
c1ca9f44
Commit
c1ca9f44
authored
Jan 09, 2019
by
zhz
Browse files
Options
Browse Files
Download
Plain Diff
config
parents
d2853844
075b3620
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
application.ini
conf/application.ini
+2
-1
closeSecond.php
scripts/crontab/order/closeSecond.php
+6
-1
No files found.
conf/application.ini
View file @
c1ca9f44
...
...
@@ -14,6 +14,7 @@ application.modules = Index,Api,Admin,Client
redis.redisPublishName
=
'redisPublish'
;
...
...
@@ -539,4 +540,4 @@ elastic.master.scheme="http";
;resources.database.params.hostname = "127.0.0.1"
;resources.database.params.database = "database"
;resources.database.params.username = "username"
;resources.database.params.password = "password"
\ No newline at end of file
;resources.database.params.password = "password"
scripts/crontab/order/closeSecond.php
View file @
c1ca9f44
...
...
@@ -43,7 +43,12 @@ class cliOrderClose extends basecli
protected
function
autoCloseOrder
(){
$orderService
=
\Business\Order\OrderServiceModel
::
getInstance
(
\Our\DbNameConst
::
masterDBConnectName
);
$orderService
->
baseDir
=
\Our\Common
::
getConfig
(
'out.config'
);
$orderService
->
changeOrderStatusSecond
();
if
(
$this
->
aArgv
[
1
]){
$orderService
->
changeOrderStatusSecond
(
true
);
}
else
{
$orderService
->
changeOrderStatusSecond
();
}
$messageService
=
\Business\Message\MessageServiceModel
::
getInstance
(
\Our\DbNameConst
::
masterDBConnectName
);
$messageService
->
addMessageCenterToDb
();
}
...
...
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