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
681b4d8f
Commit
681b4d8f
authored
Aug 11, 2020
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖上传图片
parent
279666cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
pic_model.php
new_admincp/applications/zsb/models/pic_model.php
+7
-0
No files found.
new_admincp/applications/zsb/models/pic_model.php
View file @
681b4d8f
...
...
@@ -770,6 +770,13 @@ class Pic_model extends MY_Model {
*/
public
function
get_upload_table_name
(
$tbl
,
$id
)
{
if
(
GB_CITY
==
'wh'
){
if
(
$tbl
==
'sell'
&&
$id
<
10310000
)
return
'upload'
;
if
(
$tbl
==
'rent'
&&
$id
<
1577000
)
return
'upload'
;
return
'upload1'
;
}
if
(
GB_CITY
!=
'nj'
)
return
'upload'
;
if
(
$tbl
==
'sell'
&&
$id
<
23972101
)
return
'upload0'
;
if
(
$tbl
==
'rent'
&&
$id
<
11907211
)
return
'upload0'
;
...
...
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