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
26f6e8b0
Commit
26f6e8b0
authored
Jun 28, 2017
by
html5-李恒逸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fixs
parent
7bb99c2c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
report.php
html/application/controllers/admin/report.php
+3
-2
index.php
html/application/controllers/channel/index.php
+2
-1
error_lang.php
html/application/language/chinese/error_lang.php
+1
-1
index.php
html/index.php
+1
-0
No files found.
html/application/controllers/admin/report.php
View file @
26f6e8b0
...
...
@@ -1109,8 +1109,9 @@ class Report extends CI_Controller
{
$userInfo
=
$this
->
relate
->
get
(
array
(
'distributor_id'
=>
$distributor_id
,
'building_id'
=>
$building_id
));
if
(
!
$userInfo
)
{
if
(
$userInfo
){
alert_redirect
(
site_url
(
'admin/report/distributors'
),
$this
->
lang
->
line
(
'err_43003'
));
}
else
{
$userId
=
$userInfo
[
'user_id'
];
$data
[
'user_id'
]
=
$manager_id
;
...
...
html/application/controllers/channel/index.php
View file @
26f6e8b0
...
...
@@ -72,7 +72,8 @@ class Index extends CI_Controller{
//获取总条数
$count
=
$con
?
$this
->
channel
->
get_all_count
(
$where
)
:
0
;
$buildings
=
$con
?
$this
->
channel_building
->
get_all_building
(
$where
)
:
array
();
$channels
=
$this
->
manager
->
get
(
array
(
'manager_name'
=>
$username
));
$buildings
=
$con
?
$this
->
channel_building
->
get_all_building
(
'B.id in ('
.
$channels
[
'building_id'
]
.
')'
)
:
array
();
$building_list
=
array
();
/*$buildings = array (
...
...
html/application/language/chinese/error_lang.php
View file @
26f6e8b0
...
...
@@ -25,7 +25,7 @@ $lang["err_42003"] = "页面参数不合法";
$lang
[
"err_42004"
]
=
"POST数据参数不合法"
;
$lang
[
"err_42005"
]
=
"页面参数不合法"
;
$lang
[
"err_42006"
]
=
"参数错误(invalid parameter)"
;
$lang
[
"err_43003"
]
=
"该分销商已被绑定到该项目"
$lang
[
"err_42100"
]
=
"具体参数错误"
;
$lang
[
"err_42110"
]
=
"邮箱错误"
;
...
...
html/index.php
View file @
26f6e8b0
<?php
date_default_timezone_set
(
'PRC'
);
ob_start
();
ini_set
(
'memory_limit'
,
'-1'
);
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
...
...
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