Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
81421b7e
Commit
81421b7e
authored
Jan 25, 2018
by
clone
Committed by
hujun
Mar 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
5563c0d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
AppChat.php
application/chat/controller/AppChat.php
+1
-1
No files found.
application/chat/controller/AppChat.php
View file @
81421b7e
...
@@ -213,7 +213,7 @@ class AppChat extends Basic
...
@@ -213,7 +213,7 @@ class AppChat extends Basic
$image
=
\think\Image
::
open
(
$static_path
);
$image
=
\think\Image
::
open
(
$static_path
);
$image
->
thumb
(
500
,
500
)
->
save
(
$static_path
);
//生成缩略图
$image
->
thumb
(
500
,
500
)
->
save
(
$static_path
);
//生成缩略图
$data
=
[
'file_name'
=>
HEADERIMG
URL
.
$img_path
];
$data
=
[
'file_name'
=>
CHAT_IMG_
URL
.
$img_path
];
}
else
{
}
else
{
// 上传失败获取错误信息
// 上传失败获取错误信息
return
$this
->
response
(
"101"
,
$file
->
getError
());
return
$this
->
response
(
"101"
,
$file
->
getError
());
...
...
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