作者 邓超

存入草稿时,也给出uid

... ... @@ -87,6 +87,7 @@ class listsSql {
*/
public static function saveDraft(array $data, array $email,int $draftid = 0):int {
$draftData = [
'uid' => -rand(0,99999999),
'subject' => $data['subject'],
'from' => $data['email'],
'from_name' => $data['nickname'],
... ...