补充新功能

This commit is contained in:
mzl
2025-09-10 18:34:20 +08:00
parent a433b3c1fb
commit 60eb12a151
7 changed files with 1218 additions and 195 deletions
+11 -4
View File
@@ -96,7 +96,7 @@ class IndexController
}
public function test()
public function test(Request $request)
{
@@ -127,8 +127,15 @@ class IndexController
// $up = new UploadService();
// $res = $up->uploadLocalFile($param);
// var_dump($res);
$service = new \app\common\service\StockOrdersService();
$service->createdPdfFile(60);
$param = $request->all();
try {
$service = new \app\crm\service\StockOrdersService();
$result = $service->createdPdfFile($param['id']);
return json($result);
} catch (\Throwable $th) {
//throw $th;
var_dump($th->getMessage().$th->getLine().$th->getFile());
}
}
}