...
|
...
|
@@ -154,7 +154,10 @@ class Common extends Api |
|
|
'createtime' => time() + 60 + 86400 * 14,
|
|
|
'updatetime' => time() + 60 + 86400 * 14
|
|
|
];
|
|
|
Db::name('sun')->insert($data);
|
|
|
$res= Db::name('sun')->insert($data);
|
|
|
if(!$res){
|
|
|
$this->error('失败',0);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
} |
...
|
...
|
|