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
550c726b
Commit
550c726b
authored
Jan 30, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容
parent
ec91fcdc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
Users.php
application/model/Users.php
+1
-7
No files found.
application/model/Users.php
View file @
550c726b
...
...
@@ -9,12 +9,6 @@ class Users extends Model
{
// 设置当前模型对应的完整数据表名称
protected
$table
=
'u_users'
;
protected
$usersModel
;
function
__construct
()
{
$this
->
usersModel
=
Db
(
$this
->
table
);
}
/**
* 查询用户
...
...
@@ -40,7 +34,7 @@ class Users extends Model
}
public
function
getUserByWhere
(
$param
,
$fields
=
'id,user_phone'
)
{
$data
=
$this
->
usersModel
$data
=
$this
->
field
(
$fields
)
->
where
(
$param
)
->
select
();
...
...
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