...
|
...
|
@@ -812,9 +812,22 @@ class Home extends Base { |
|
|
*/
|
|
|
public function info(){
|
|
|
$id = app()->request('id',0,'intval');
|
|
|
|
|
|
$udate = app()->request('id',0,'intval');
|
|
|
$subject = app()->request('subject');
|
|
|
if($udate&&$subject){
|
|
|
$data = db()->first(listsSql::first(dbWhere(['id'=>$id,'udate'=>$udate])));
|
|
|
if($data && $data['subject'] != $subject){
|
|
|
$data = [];
|
|
|
}
|
|
|
if($data){
|
|
|
$email = db()->first(emailSql::first($data['email_id']));
|
|
|
}
|
|
|
}else{
|
|
|
// 没有,说明没有同步过来
|
|
|
$email = $this->getEmail();
|
|
|
$data = db()->first(listsSql::first(dbWhere(['id'=>$id,'email_id'=>$email['id']])));
|
|
|
}
|
|
|
|
|
|
if($data){
|
|
|
$sync_num = 0;
|
...
|
...
|
|