作者 lyh

gx

... ... @@ -37,7 +37,7 @@ class TestController extends BaseController
*/
public function ceshi(){
$aiBlogService = new AiBlogService();
$result = $aiBlogService->createProject('V6.0 - 演示项目','en','生产案例制作');
$result = $aiBlogService->createProject('v6-演示项目','en','生产案例制作');
$this->response('success',Code::SUCCESS,$result);
}
}
... ...
... ... @@ -35,7 +35,7 @@ class AiBlogService
];
$this->sign = $this->generateSign($param,$this->key);
$param['sign'] = $this->sign;
$result = http_post($request_url,$param);
$result = http_post($request_url,json_encode($param,true));
return $result;
}
... ...