修复自定义在线机型

This commit is contained in:
net909
2024-12-30 22:27:59 +08:00
parent 75348c27da
commit a449674739
9 changed files with 58 additions and 21 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ use plugin\utility\imghosting\api;
class cdn58 implements api
{
public function upload($filepath, $filename){
$url = 'https://upload.58cdn.com.cn/json';
$url = 'https://upload.58cdn.com.cn/json/nowater/webim/big/';
$referer = 'https://ai.58.com/pc/';
$imgdata = base64_encode(file_get_contents($filepath));
$params = [