Commit 17c0f2cf authored by wwccw0591's avatar wwccw0591

更新

parent 7d896c2c
......@@ -41,7 +41,7 @@ class cliOrderSendTemplateMessage extends basecli
}
}
private function autoSendMessage(){
protected function autoSendMessage(){
$service = \Business\Order\OrderServiceModel::getInstance(\Our\DbNameConst::masterDBConnectName);
$service->baseDir = \Our\Common::getConfig('out.config');
echo "autoSendMessage:\n";
......@@ -63,6 +63,7 @@ class cliOrderSendTemplateMessage extends basecli
exit;
}
$this->lockFileName = $lockDir . '/orderSendTemplateMessage.locks';
@unlink($this->lockFileName);
if( file_exists( $this->lockFileName ) )
{
$stat = stat($this->lockFileName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment