Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SooonerHotel
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
吴贤德
SooonerHotel
Commits
acc7d804
Commit
acc7d804
authored
Nov 28, 2019
by
吴贤德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小帅合壳需求:新增nodeImg,nodeStruct字段 相关改动
parent
22e60dd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
CenterAction.class.php
SooonerHotel/App/Lib/Action/Api/CenterAction.class.php
+6
-1
add.html
SooonerHotel/App/Tpl/Media/zh-cn/Cloud/add.html
+12
-1
No files found.
SooonerHotel/App/Lib/Action/Api/CenterAction.class.php
View file @
acc7d804
...
...
@@ -218,6 +218,11 @@ class CenterAction extends Action
$data
[
'englishTitle'
]
=
$this
->
null2str
(
$json
[
"englishTitle"
]);
//end
//小帅新增字段(合壳) by xd.5 20191128
$data
[
'nodeImg'
]
=
$this
->
remakeImageUrlForCache
(
$json
[
"nodeImg"
]);
$data
[
'nodeStruct'
]
=
$this
->
null2str
(
$json
[
"nodeStruct"
]);
//end
$model
=
D
(
"Media"
);
$where
[
"code"
]
=
$data
[
"code"
];
$where
[
"site_id"
]
=
$data
[
"site_id"
];
...
...
@@ -467,7 +472,7 @@ class CenterAction extends Action
.
",mw.year,mw.type,mw.score,mw.region,mw.actor,mw.director"
.
",hm.code hotelId,hm.status,hm.status_inject statusInject"
.
",mw.type,mw.nodeId,mw.nodeName"
.
",mw.newsImage_1,mw.newsImage_2,mw.newsImage_3,mw.englishTitle"
;
.
",mw.newsImage_1,mw.newsImage_2,mw.newsImage_3,mw.englishTitle
,mw.nodeImg,mw.nodeStruct
"
;
$sql
=
"SELECT
$fields
"
.
" FROM (SELECT hm.media_id,h.code,hm.status,hm.status_inject FROM sh_hotel_media_map_
$spid
hm,sh_hotel h"
...
...
SooonerHotel/App/Tpl/Media/zh-cn/Cloud/add.html
View file @
acc7d804
...
...
@@ -63,7 +63,18 @@ body{padding:20px}
<div
class=
"col-sm-2"
>
<input
type=
"text"
class=
"form-control"
id=
"inputEmail3"
name=
"nodeName"
value=
"{$info.nodeName}"
disabled
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputEmail3"
class=
"col-sm-2 control-label"
>
栏目层级
</label>
<div
class=
"col-sm-10"
>
<input
type=
"text"
class=
"form-control"
id=
"inputEmail3"
name=
"url_play"
value=
"{$info.nodeStruct}"
disabled
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputEmail3"
class=
"col-sm-2 control-label"
>
栏目海报
</label>
<div
class=
"col-sm-10"
>
<a
target=
'_blank'
href=
'{$info.nodeImg}'
title=
'点击查看'
><image
src=
"{$info.nodeImg}"
width=
'300px'
/></a>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputEmail3"
class=
"col-sm-2 control-label"
>
年份
</label>
...
...
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