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
5c70db50
Commit
5c70db50
authored
Apr 06, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改商铺图片数据转移
parent
7d64458d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
TransferHouseInfo.php
application/api/controller/TransferHouseInfo.php
+10
-7
No files found.
application/api/controller/TransferHouseInfo.php
View file @
5c70db50
...
@@ -181,13 +181,16 @@ class TransferHouseInfo extends Controller
...
@@ -181,13 +181,16 @@ class TransferHouseInfo extends Controller
case
6
:
case
6
:
$house_img_save
[
'img_type'
]
=
4
;
break
;
$house_img_save
[
'img_type'
]
=
4
;
break
;
}
}
$house_img_save
[
'img_type'
]
=
$house_img_data
[
'imgtype'
];
$house_img_save
[
'house_id'
]
=
$house_img_data
[
'house_id'
];
if
(
!
empty
(
$house_img_save
[
'img_type'
]))
{
$house_img_save
[
'img_name'
]
=
$house_img_data
[
'imagename'
];
$house_img_save
[
'img_type'
]
=
$house_img_data
[
'imgtype'
];
$house_img_save
[
'create_time'
]
=
$house_img_data
[
'created'
];
$house_img_save
[
'house_id'
]
=
$house_img_data
[
'house_id'
];
$house_img_save
[
'update_time'
]
=
$house_img_data
[
'modified'
];
$house_img_save
[
'img_name'
]
=
$house_img_data
[
'imagename'
];
echo
$i
.
'-'
;
$house_img_save
[
'create_time'
]
=
$house_img_data
[
'created'
];
Db
::
table
(
'g_houses_imgs'
)
->
insert
(
$house_img_save
);
$house_img_save
[
'update_time'
]
=
$house_img_data
[
'modified'
];
echo
$i
.
'-'
;
Db
::
table
(
'g_houses_imgs'
)
->
insert
(
$house_img_save
);
}
}
}
}
}
return
;
return
;
...
...
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