1
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user