Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loveisland
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘小敏
loveisland
Commits
a89b86ef
Commit
a89b86ef
authored
May 19, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3D试戴 调试13
parent
67bc2b79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Ai.php
addons/shopro/service/user/Ai.php
+2
-2
No files found.
addons/shopro/service/user/Ai.php
View file @
a89b86ef
...
...
@@ -69,7 +69,7 @@ class Ai
custom_log
(
'fileUrl: '
.
$file_url
,
$log_name
);
// 1 生成存储目录(fastadmin标准uploads目录)
$upload_dir
=
'/uploads/
ai_video
/'
.
date
(
'Ymd'
)
.
'/'
;
$upload_dir
=
'/uploads/
gen_ai
/'
.
date
(
'Ymd'
)
.
'/'
;
$dir
=
$this
->
public_dir
.
$upload_dir
;
if
(
!
is_dir
(
$dir
))
{
mkdir
(
$dir
,
0755
,
true
);
...
...
@@ -103,7 +103,7 @@ class Ai
if
(
file_exists
(
$full_path
))
{
unlink
(
$full_path
);
}
custom_log
(
'文件下载失败:'
.
$error
.
"HTTP状态码:
{
$http_code
}
,
文件为空"
,
$log_name
);
custom_log
(
'文件下载失败:'
.
$error
.
"HTTP状态码:
{
$http_code
}
文件为空"
,
$log_name
);
return
0
;
// 统一失败返回值
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment