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
3a277c99
Commit
3a277c99
authored
Jun 05, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增客户
parent
32b3f07e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Member.php
application/index/controller/Member.php
+4
-1
No files found.
application/index/controller/Member.php
View file @
3a277c99
...
...
@@ -247,13 +247,16 @@ class Member extends Basic{
}
if
(
empty
(
$user_data
)
&&
$params
[
'type'
]
==
'add'
)
{
$insert_data
[
'user_n
ick
'
]
=
$params
[
'realname'
];
$insert_data
[
'user_n
ame
'
]
=
$params
[
'realname'
];
$insert_data
[
'user_phone'
]
=
$params
[
'user_phone'
];
$insert_data
[
'user_pswd'
]
=
md5
(
md5
(
$params
[
'pwd'
])
.
'+123'
);
$insert_data
[
'status'
]
=
0
;
$insert_data
[
'create_time'
]
=
$date
;
$insert_data
[
'update_time'
]
=
$date
;
$insert_data
[
'agent_id'
]
=
$params
[
'agent_id'
];
//客方
$insert_data
[
'industry_type'
]
=
$params
[
'industry_type'
];
//业态
$insert_data
[
'price_demand'
]
=
$params
[
'price_demand'
];
//价格需求 元
$insert_data
[
'area_demand'
]
=
$params
[
'area_demand'
];
//价格需求 元面积要求
$this
->
user
->
save
(
$insert_data
);
if
(
$this
->
user
->
id
)
{
$status
=
200
;
...
...
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