This commit is contained in:
wangjinlei
2022-08-05 11:18:55 +08:00
parent b477ff7ceb
commit c42decfe99
3 changed files with 676 additions and 489 deletions

View File

@@ -324,7 +324,7 @@ function sendEmail1($email = '', $title = '', $from_name = '', $content = '', $m
}
function aliemail($email,$title,$content){
file_put_contents('/usr/a.txt', $email,FILE_APPEND);
// file_put_contents('/usr/a.txt', $email,FILE_APPEND);
vendor('aliemail.email');
$mailto=$email;
$mailsubject=$title;

View File

@@ -486,6 +486,12 @@ class Datebase extends Controller
}
public function puttt(){
$this->createFtpFileInfo(320);
}
private function createFtpFileInfo($journal_stage_id)
{
//查找分期信息
@@ -635,6 +641,7 @@ class Datebase extends Controller
exit('连接失败');
}
$name = iconv("UTF-8", "GBK", $title . '.zip');
ftp_pasv($con, true);
$data = ftp_put($con, '/' . $name, $url, FTP_BINARY);
if (!$data) { // 上传失败
exit('上传失败');

File diff suppressed because one or more lines are too long