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
c73aa506
Commit
c73aa506
authored
Nov 26, 2019
by
wangjiangze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
媒资注入、播控管理数据更新规则调整,同时修改数据表结构增加media_id、hotel_id唯一索引
parent
94f7e37c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
InjectAction.class.php
SooonerHotel/App/Lib/Action/Inject/InjectAction.class.php
+1
-1
PlayCtrlAction.class.php
...nerHotel/App/Lib/Action/Playctrl/PlayCtrlAction.class.php
+1
-1
No files found.
SooonerHotel/App/Lib/Action/Inject/InjectAction.class.php
View file @
c73aa506
...
...
@@ -144,7 +144,7 @@ class InjectAction extends CommonAction{
$mapData
[
'hotel_id'
]
=
$hotel_id
;
$mapData
[
'status'
]
=
1
;
$mapData
[
'addtime'
]
=
date
(
'Y-m-d H:i:s'
);
M
(
"Map_
$sp_id
"
,
"sh_hotel_media_"
)
->
add
(
$mapData
,
array
(
"media_id"
=>
$media_id
,
"hotel_id"
=>
$hotel_id
),
true
);
M
(
"Map_
$sp_id
"
,
"sh_hotel_media_"
)
->
add
(
$mapData
,
array
(),
true
);
$logData
[
'task_id'
]
=
$task_id
;
$logData
[
'media_id'
]
=
$media_id
;
...
...
SooonerHotel/App/Lib/Action/Playctrl/PlayCtrlAction.class.php
View file @
c73aa506
...
...
@@ -143,7 +143,7 @@ class PlayCtrlAction extends CommonAction{
$mapData
[
'hotel_id'
]
=
$hotel_id
;
$mapData
[
'status'
]
=
$taskData
[
'status'
];
M
(
"Map_
$sp_id
"
,
"sh_hotel_media_"
)
->
add
(
$mapData
,
array
(
"media_id"
=>
$media_id
,
"hotel_id"
=>
$hotel_id
),
true
);
M
(
"Map_
$sp_id
"
,
"sh_hotel_media_"
)
->
add
(
$mapData
,
array
(),
true
);
$logData
[
'task_id'
]
=
$task_id
;
$logData
[
'media_id'
]
=
$media_id
;
$logData
[
'hotel_id'
]
=
$hotel_id
;
...
...
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