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
6741514f
Commit
6741514f
authored
Aug 09, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0426d9c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
Member.php
application/index/controller/Member.php
+1
-4
No files found.
application/index/controller/Member.php
View file @
6741514f
...
@@ -369,6 +369,7 @@ class Member extends Basic{
...
@@ -369,6 +369,7 @@ class Member extends Basic{
if
(
$this
->
request
->
isPost
())
{
if
(
$this
->
request
->
isPost
())
{
//编辑用户
//编辑用户
$result
=
''
;
if
(
empty
(
$this
->
params
[
'id'
]))
{
if
(
empty
(
$this
->
params
[
'id'
]))
{
//新增用户
//新增用户
$where
[
'user_phone'
]
=
$this
->
params
[
'user_phone'
];
$where
[
'user_phone'
]
=
$this
->
params
[
'user_phone'
];
...
@@ -398,10 +399,6 @@ class Member extends Basic{
...
@@ -398,10 +399,6 @@ class Member extends Basic{
$result
=
$this
->
user
->
edit
(
$this
->
params
,
$this
->
params
[
'id'
]);
//新增或编辑
$result
=
$this
->
user
->
edit
(
$this
->
params
,
$this
->
params
[
'id'
]);
//新增或编辑
$this
->
operating_records
(
$this
->
userId
,
$type
=
3
,
$remark
,
$this
->
params
[
'id'
]);
//记录日志
$this
->
operating_records
(
$this
->
userId
,
$type
=
3
,
$remark
,
$this
->
params
[
'id'
]);
//记录日志
}
}
}
else
{
$remark
=
'用户编辑'
;
}
$result
=
$this
->
user
->
edit
(
$this
->
params
,
$this
->
params
[
'id'
],
$this
->
userId
);
//新增或编辑
}
}
}
}
...
...
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