Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac-quanmin
Overview
Overview
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
HTML5-李恒逸
sunac-quanmin
Commits
d3a1cc4f
Commit
d3a1cc4f
authored
Jun 27, 2017
by
html5-李恒逸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改渠道楼盘
parent
a1d5e40a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
channeladmin.php
html/application/controllers/admin/channeladmin.php
+13
-0
No files found.
html/application/controllers/admin/channeladmin.php
View file @
d3a1cc4f
...
...
@@ -145,6 +145,19 @@ class Channeladmin extends CI_Controller
$data1
[
'parent_id'
]
=
$parentId
[
'parent_id'
];
$this
->
channel
->
update
(
array
(
'id'
=>
$parentId
[
'channel_id'
]),
$data1
);
}
if
(
$this
->
input
->
post
(
'region_id'
))
{
$parentId
[
'region_id'
]
=
implode
(
','
,
$this
->
input
->
post
(
'region_id'
));
//地区
$data1
=
array
();
$data1
[
'region_id'
]
=
$parentId
[
'region_id'
];
$this
->
channel
->
update
(
array
(
'id'
=>
$parentId
[
'channel_id'
]),
$data1
);
}
if
(
$this
->
input
->
post
(
'building_id'
))
{
$parentId
[
'building_id'
]
=
implode
(
','
,
$this
->
input
->
post
(
'building_id'
));
//项目
$data1
=
array
();
$data1
[
'building_id'
]
=
$parentId
[
'building_id'
];
$this
->
channel
->
update
(
array
(
'id'
=>
$parentId
[
'channel_id'
]),
$data1
);
}
if
(
$parentId
[
'manager_pwd'
]
!=
''
&&
$parentId
[
'ag_pwd'
]
!=
''
){
$manager_pwd
=
trim
(
$parentId
[
'manager_pwd'
]);
$ag_pwd
=
trim
(
$parentId
[
'ag_pwd'
]);
...
...
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