This commit is contained in:
parent
a87eff168c
commit
f501256183
|
|
@ -12,6 +12,7 @@ namespace addon\fenxiao\model;
|
||||||
|
|
||||||
use app\model\system\Config as ConfigModel;
|
use app\model\system\Config as ConfigModel;
|
||||||
use app\model\BaseModel;
|
use app\model\BaseModel;
|
||||||
|
use app\model\system\Cron;
|
||||||
use app\model\system\Document;
|
use app\model\system\Document;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -68,7 +69,9 @@ class Config extends BaseModel
|
||||||
'child_condition' => $data[ 'child_condition' ],//成为下线条件
|
'child_condition' => $data[ 'child_condition' ],//成为下线条件
|
||||||
];
|
];
|
||||||
$res = $config->setConfig($relation_data, '分销上下级关系配置', $is_use, [ [ 'site_id', '=', $site_id ], [ 'app_module', '=', 'shop' ], [ 'config_key', '=', 'FENXIAO_RELATION_CONFIG' ] ]);
|
$res = $config->setConfig($relation_data, '分销上下级关系配置', $is_use, [ [ 'site_id', '=', $site_id ], [ 'app_module', '=', 'shop' ], [ 'config_key', '=', 'FENXIAO_RELATION_CONFIG' ] ]);
|
||||||
|
$cron = new Cron();
|
||||||
|
// $cron->deleteCron([ [ 'event', '=', 'WeightOrder' ], [ 'relate_id', '=', $param[ 'bale_id' ] ] ]);
|
||||||
|
// $cron->addCron(1, 0, '订单售后自动关闭', 'CronOrderAfterSaleClose', $execute_time, $order_id);
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue