Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
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
esf
fenzhan_zsb
Commits
b1c02edf
Commit
b1c02edf
authored
Aug 17, 2020
by
liuqiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改上传图片方法 zsb/controller/pic.php->house
parent
b3d108b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pic.php
new_admincp/applications/zsb/controllers/pic.php
+1
-1
No files found.
new_admincp/applications/zsb/controllers/pic.php
View file @
b1c02edf
...
@@ -47,7 +47,7 @@ class Pic extends MY_Controller {
...
@@ -47,7 +47,7 @@ class Pic extends MY_Controller {
$fileType
=
$file
[
'type'
];
//文件类型
$fileType
=
$file
[
'type'
];
//文件类型
$this
->
load
->
model
(
'zsb_api_model'
);
$this
->
load
->
model
(
'zsb_api_model'
);
$result
=
$this
->
zsb_api_model
->
requestFile
(
'uploadPic'
,
$filename
,
$tmpFile
,
$fileType
);
$result
=
$this
->
zsb_api_model
->
requestFile
(
'uploadPic'
,
$filename
,
$tmpFile
,
$fileType
);
return
$result
[
'pic_url'
]
;
echo
$result
[
'pic_url'
];
exit
;
//判断是否上传是360全景图片
//判断是否上传是360全景图片
if
(
!
empty
(
$_GET
[
'uploadType'
])
&&
$_GET
[
'uploadType'
]
==
'1'
)
if
(
!
empty
(
$_GET
[
'uploadType'
])
&&
$_GET
[
'uploadType'
]
==
'1'
)
...
...
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