作者 邓超

1

... ... @@ -6,31 +6,6 @@ include_once __DIR__."/../vendor/autoload.php";
//$ids = db()->all('select `id` from `'.\Model\emailSql::$table.'` limit 1000 offset 0');
//print_r($ids);
db()->insert('lists',[
'msgno' => 1,
'uid' => 1413523735,
'subject' => '',
'cc' => '',
'bcc' => '',
'from' => '15928184520@163.com',
'from_name' => 15928184520,
'to' => '281132704@qq.com',
'to_name' => '[{"email":"281132704@qq.com","name":"281132704"}]',
'date' => 1429682856,
'message_id' => '<201504220636.b57ac3935949@www.youni.com>',
'udate' => 1429682816,
'size' => 776,
'recent' => '',
'seen' => 1,
'draft' => '',
'flagged' => '',
'answered' => '',
'folder_id' => '',
'email_id' => 1,
'uuid' => '5da4967fd91dde5eb6ca68f31408d04f',
'is_file' => 0,
'created_at' => '2023-02-18 14:28:44'
]);
//start_now_mail();
\ No newline at end of file
start_now_mail();
\ No newline at end of file
... ...
... ... @@ -101,7 +101,7 @@ class DbPool {
// 如果存储的值是数组,就json一次
foreach ($data as $k=>$datum){
if(is_array($data)){
if(is_array($datum)){
$data[$k] = json_encode($datum,JSON_UNESCAPED_UNICODE);
}
}
... ... @@ -133,7 +133,7 @@ class DbPool {
// 如果存储的值是数组,就json一次
foreach ($data as $k=>$datum){
if(is_array($data)){
if(is_array($datum)){
$data[$k] = json_encode($datum,JSON_UNESCAPED_UNICODE);
}
}
... ...