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
90466652
Commit
90466652
authored
Mar 25, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
b26752e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
57 deletions
+26
-57
HouseVideo.php
application/index/controller/HouseVideo.php
+0
-54
VideoCheck.php
application/index/controller/VideoCheck.php
+26
-3
No files found.
application/index/controller/HouseVideo.php
deleted
100644 → 0
View file @
b26752e3
<?php
namespace
app\index\controller
;
use
app\api\controller\WxSdk
;
use
app\api\untils\WxCallbackUntils
;
use
app\index\extend\Basic
;
use
app\index\service\UserService
;
use
app\model\GHousesVideo
;
use
app\model\UWxInfo
;
use
Think\Log
;
use
think\Request
;
/**
* Created by PhpStorm.
* User : zhwuei
* Date : 2019-03-24
* Time : 15:00:13
* Intro:
*/
class
HouseVideo
extends
Basic
{
private
$m_houses_video
;
public
function
__construct
(
Request
$request
=
null
)
{
parent
::
__construct
(
$request
);
$this
->
m_houses_video
=
new
GHousesVideo
();
}
public
function
getHouseVideoList
()
{
$params
=
$this
->
params
;
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$res
=
$this
->
m_houses_video
->
getHouseVideoList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
);
$res_total
=
$this
->
m_houses_video
->
getHouseVideoListTotal
(
$field
,
$get_params
);
foreach
(
$res
as
$key
=>
$val
)
{
}
}
}
\ No newline at end of file
application/index/controller/VideoCheck.php
View file @
90466652
<?php
namespace
app\index\controller
;
use
app\index\extend\Basic
;
use
app\model\GHousesVideo
;
use
think\Request
;
/**
...
...
@@ -9,19 +12,39 @@ use think\Request;
* Date: 2019/3/22
* Time: 13:56
*/
class
VideoCheck
extends
Basic
{
private
$m_houses_video
;
class
VideoCheck
extends
Basic
{
public
function
__construct
(
Request
$request
=
null
)
{
parent
::
__construct
(
$request
);
$this
->
m_houses_video
=
new
GHousesVideo
();
}
public
function
videoCheckList
(){
public
function
videoCheckList
()
{
$this
->
display
(
"video_check_list"
);
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'video_check/video_check_list'
);
}
}
public
function
getHouseVideoList
()
{
$params
=
$this
->
params
;
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$res
=
$this
->
m_houses_video
->
getHouseVideoList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
);
$res_total
=
$this
->
m_houses_video
->
getHouseVideoListTotal
(
$field
,
$get_params
);
foreach
(
$res
as
$key
=>
$val
)
{
}
}
}
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