|
@@ -16,6 +16,7 @@ class Import
|
|
|
public function __construct()
|
|
|
{
|
|
|
$this->db = Dever::db('agent/test:old');
|
|
|
+ $this->state = Dever::input('state', 1);
|
|
|
}
|
|
|
|
|
|
# 获取已审核的条件
|
|
@@ -51,7 +52,6 @@ class Import
|
|
|
|
|
|
public function get_api()
|
|
|
{
|
|
|
- $this->state = Dever::input('state', 1);
|
|
|
$this->date = Dever::maketime('2021-09-01 00:00:00');
|
|
|
Dever::config('base')->hook = true;
|
|
|
$host = 'https://cryl.yijiuguanfang.com/attachment/';
|