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
afdd4f1e
Commit
afdd4f1e
authored
Sep 07, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时器
parent
db4aa47c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
1 deletion
+1
-1
GoodsCommonService.php
application/models/Business/Goods/GoodsCommonService.php
+1
-0
nohup.out
nohup.out
+0
-0
storeOnlineGoodsClass.php
scripts/crontab/store/storeOnlineGoodsClass.php
+0
-1
No files found.
application/models/Business/Goods/GoodsCommonService.php
View file @
afdd4f1e
...
...
@@ -1141,6 +1141,7 @@ class GoodsCommonServiceModel extends \Business\AbstractModel
*/
public
function
checkExistOnlineGoodsClass
(
$goodsClass
){
$storeOnlineGoodsClassDao
=
\DAO\GoodsClass\StoreOnlineGoodsClassModel
::
getInstance
();
var_dump
(
$goodsClass
);
exit
;
$oldTemp
=
$storeOnlineGoodsClassDao
->
findByWhere
(
$goodsClass
);
if
(
!
$oldTemp
){
$storeOnlineGoodsClassDao
->
insert
(
$goodsClass
);
...
...
nohup.out
0 → 100644
View file @
afdd4f1e
scripts/crontab/store/storeOnlineGoodsClass.php
View file @
afdd4f1e
...
...
@@ -56,7 +56,6 @@ class cliStoreOnlineGoodsClass extends basecli
}
// Step: 02 检查是否已有相同CLI在运行中
$lockDir
=
$this
->
_getBaseFileName
(
'storeOnlineGoodsClass'
);
echo
$lockDir
;
if
(
!
$this
->
mkdirs
(
$lockDir
)){
echo
'****create dir fail ****'
;
exit
;
...
...
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