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
f4b47403
Commit
f4b47403
authored
Jul 17, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
model
parent
4390267a
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
241 additions
and
0 deletions
+241
-0
Cost.php
application/index/controller/Cost.php
+21
-0
FApplyForFee.php
application/model/FApplyForFee.php
+44
-0
FApplyForFeeCheck.php
application/model/FApplyForFeeCheck.php
+44
-0
FCompanyData.php
application/model/FCompanyData.php
+44
-0
FImg.php
application/model/FImg.php
+44
-0
FSettingLog.php
application/model/FSettingLog.php
+44
-0
No files found.
application/index/controller/Cost.php
0 → 100644
View file @
f4b47403
<?php
/**
* Created by PhpStorm.
* User: 43897
* Date: 2019/7/17
* Time: 16:50
*/
namespace
app\index\controller
;
use
app\index\extend\Basic
;
class
Cost
extends
Basic
{
public
function
getCostList
()
{
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
}
}
\ No newline at end of file
application/model/FApplyForFee.php
0 → 100644
View file @
f4b47403
<?php
namespace
app\model
;
use
think\Db
;
use
think\Model
;
class
FApplyForFee
extends
BaseModel
{
protected
$table
=
'f_apply_for_fee'
;
private
$db_
;
public
function
__construct
(
$data
=
[])
{
parent
::
__construct
(
$data
);
$this
->
db_
=
Db
::
name
(
$this
->
table
);
}
/**
* 新增数据
* @param $data
* @return mixed
*/
public
function
saveOffice
(
$data
)
{
$time
=
date
(
"Y-m-d H:i:s"
,
time
());
$data
[
"is_del"
]
=
0
;
$data
[
'create_time'
]
=
$time
;
$data
[
'update_time'
]
=
$time
;
return
$this
->
db_
->
insert
(
$data
);
}
/**
* 查询单条数据
* 朱伟 2018-10-18 10:41:10
*/
public
function
findByOne
(
$field
,
$params
)
{
$result
=
$this
->
db_
->
field
(
$field
)
->
where
(
$params
)
->
find
();
return
$result
;
}
}
application/model/FApplyForFeeCheck.php
0 → 100644
View file @
f4b47403
<?php
namespace
app\model
;
use
think\Db
;
use
think\Model
;
class
FApplyForFeeCheck
extends
BaseModel
{
protected
$table
=
'f_apply_for_fee_check'
;
private
$db_
;
public
function
__construct
(
$data
=
[])
{
parent
::
__construct
(
$data
);
$this
->
db_
=
Db
::
name
(
$this
->
table
);
}
/**
* 新增数据
* @param $data
* @return mixed
*/
public
function
saveOffice
(
$data
)
{
$time
=
date
(
"Y-m-d H:i:s"
,
time
());
$data
[
"is_del"
]
=
0
;
$data
[
'create_time'
]
=
$time
;
$data
[
'update_time'
]
=
$time
;
return
$this
->
db_
->
insert
(
$data
);
}
/**
* 查询单条数据
* 朱伟 2018-10-18 10:41:10
*/
public
function
findByOne
(
$field
,
$params
)
{
$result
=
$this
->
db_
->
field
(
$field
)
->
where
(
$params
)
->
find
();
return
$result
;
}
}
application/model/FCompanyData.php
0 → 100644
View file @
f4b47403
<?php
namespace
app\model
;
use
think\Db
;
use
think\Model
;
class
FCompanyData
extends
BaseModel
{
protected
$table
=
'f_company_data'
;
private
$db_
;
public
function
__construct
(
$data
=
[])
{
parent
::
__construct
(
$data
);
$this
->
db_
=
Db
::
name
(
$this
->
table
);
}
/**
* 新增数据
* @param $data
* @return mixed
*/
public
function
saveOffice
(
$data
)
{
$time
=
date
(
"Y-m-d H:i:s"
,
time
());
$data
[
"is_del"
]
=
0
;
$data
[
'create_time'
]
=
$time
;
$data
[
'update_time'
]
=
$time
;
return
$this
->
db_
->
insert
(
$data
);
}
/**
* 查询单条数据
* 朱伟 2018-10-18 10:41:10
*/
public
function
findByOne
(
$field
,
$params
)
{
$result
=
$this
->
db_
->
field
(
$field
)
->
where
(
$params
)
->
find
();
return
$result
;
}
}
application/model/FImg.php
0 → 100644
View file @
f4b47403
<?php
namespace
app\model
;
use
think\Db
;
use
think\Model
;
class
FImg
extends
BaseModel
{
protected
$table
=
'f_imgs'
;
private
$db_
;
public
function
__construct
(
$data
=
[])
{
parent
::
__construct
(
$data
);
$this
->
db_
=
Db
::
name
(
$this
->
table
);
}
/**
* 新增数据
* @param $data
* @return mixed
*/
public
function
saveOffice
(
$data
)
{
$time
=
date
(
"Y-m-d H:i:s"
,
time
());
$data
[
"is_del"
]
=
0
;
$data
[
'create_time'
]
=
$time
;
$data
[
'update_time'
]
=
$time
;
return
$this
->
db_
->
insert
(
$data
);
}
/**
* 查询单条数据
* 朱伟 2018-10-18 10:41:10
*/
public
function
findByOne
(
$field
,
$params
)
{
$result
=
$this
->
db_
->
field
(
$field
)
->
where
(
$params
)
->
find
();
return
$result
;
}
}
application/model/FSettingLog.php
0 → 100644
View file @
f4b47403
<?php
namespace
app\model
;
use
think\Db
;
use
think\Model
;
class
FSettingLog
extends
BaseModel
{
protected
$table
=
'f_setting_log'
;
private
$db_
;
public
function
__construct
(
$data
=
[])
{
parent
::
__construct
(
$data
);
$this
->
db_
=
Db
::
name
(
$this
->
table
);
}
/**
* 新增数据
* @param $data
* @return mixed
*/
public
function
saveOffice
(
$data
)
{
$time
=
date
(
"Y-m-d H:i:s"
,
time
());
$data
[
"is_del"
]
=
0
;
$data
[
'create_time'
]
=
$time
;
$data
[
'update_time'
]
=
$time
;
return
$this
->
db_
->
insert
(
$data
);
}
/**
* 查询单条数据
* 朱伟 2018-10-18 10:41:10
*/
public
function
findByOne
(
$field
,
$params
)
{
$result
=
$this
->
db_
->
field
(
$field
)
->
where
(
$params
)
->
find
();
return
$result
;
}
}
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