Commit e496cada authored by jianghaiming's avatar jianghaiming

update:set

parent 03db065e
...@@ -9,11 +9,6 @@ use App\Models\goods\mysql\GoodsSku; ...@@ -9,11 +9,6 @@ use App\Models\goods\mysql\GoodsSku;
use Api\PhpUtils\Log\FileLog; use Api\PhpUtils\Log\FileLog;
class Goods implements DaemonServiceInterface class Goods implements DaemonServiceInterface
{ {
public function __construct(int $mid)
{
$this->mid = $mid;
}
public function run() public function run()
{ {
sleep(2); sleep(2);
......
...@@ -8,12 +8,7 @@ use Api\PhpServices\Daemon\DaemonServiceInterface; ...@@ -8,12 +8,7 @@ use Api\PhpServices\Daemon\DaemonServiceInterface;
use App\Models\marketing\mysql\Marketing; use App\Models\marketing\mysql\Marketing;
class Marketing implements DaemonServiceInterface class Marketing implements DaemonServiceInterface
{ {
const EXPIRE_DATA = 86400;
public function __construct(int $mid)
{
$this->mid = $mid;
}
public function run() public function run()
{ {
sleep(2); sleep(2);
......
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