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
8e758348
Commit
8e758348
authored
Nov 19, 2018
by
zw
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
# Conflicts: # public/resource/js/performance_ranking.js
parents
73bea567
9c263c99
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
30 deletions
+17
-30
Broker.php
application/api_broker/controller/Broker.php
+5
-4
CellPhone.php
application/index/controller/CellPhone.php
+2
-1
ShareShop.php
application/index/controller/ShareShop.php
+0
-11
UserService.php
application/index/service/UserService.php
+0
-3
PrivacyNumber.php
application/task/controller/PrivacyNumber.php
+1
-1
performance_ranking.js
public/resource/js/performance_ranking.js
+9
-10
No files found.
application/api_broker/controller/Broker.php
View file @
8e758348
...
...
@@ -193,13 +193,14 @@ class Broker extends Basic
/*处理多个手机登录聊天*/
$m_chat_ext
=
new
ChatUserExt
();
$bind_where
[
'is_forbidden'
]
=
0
;
$bind_where
[
'user_id'
]
=
[
'<>'
,
$agents_data
[
'id'
]
];
$bind_where
[
'user_id'
]
=
$agents_data
[
'id'
];
$bind_where
[
'type'
]
=
1
;
$bind_where
[
'push_id'
]
=
$params
[
"push_id"
];
$del_bind_id
=
$m_chat_ext
->
getChatUserExtByUserId
(
$bind_where
,
'a.id'
,
100
);
$del_bind_id
=
$m_chat_ext
->
getChatUserExtByUserId
(
$bind_where
,
'a.id,a.push_id'
,
100
);
if
(
count
(
$del_bind_id
)
>
0
)
{
foreach
(
$del_bind_id
as
$v
)
{
$m_chat_ext
->
updateDate
([
'is_forbidden'
=>
1
],
[
'id'
=>
$v
[
'id'
]]);
if
(
$v
[
'push_id'
]
!=
$params
[
"push_id"
])
{
$m_chat_ext
->
updateDate
([
'is_forbidden'
=>
1
],
[
'id'
=>
$v
[
'id'
]]);
}
}
}
/*处理多个手机登录聊天*/
...
...
application/index/controller/CellPhone.php
View file @
8e758348
...
...
@@ -147,7 +147,8 @@ class CellPhone extends Basic
}
}
$data
[
'list'
]
=
$list
;
$data
[
'total'
]
=
$report
->
getCallListTotal
(
$where
);
// $data['total'] = $report->getCallListTotal($where);
$data
[
'total'
]
=
40000
;
return
$this
->
response
(
$result
[
'code'
],
$result
[
'msg'
],
$data
);
}
else
{
return
view
(
'cell_phone/index'
);
...
...
application/index/controller/ShareShop.php
View file @
8e758348
...
...
@@ -72,17 +72,6 @@ class ShareShop extends Basic
}
}
dump
(
'======='
);
dump
(
'======='
);
dump
(
'======='
);
dump
(
'======='
);
dump
(
'======='
);
dump
(
'======='
);
dump
(
'======='
);
dump
(
'======='
);
dump
(
'======='
);
dump
(
'是否手机号注册用户'
);
dump
(
$is_user
);
$this
->
assign
(
'data'
,
json_encode
(
$params
));
return
view
(
"share_detail"
);
...
...
application/index/service/UserService.php
View file @
8e758348
...
...
@@ -447,13 +447,10 @@ class UserService
if
(
!
$open_id
){
return
false
;
}
dump
(
$open_id
);
$param
[
'wx_open_id'
]
=
$open_id
;
$fields
=
'a.user_phone'
;
$result
=
$this
->
user
->
getUserInfoByOpenId
(
$param
,
$fields
);
dump
(
$result
);
Log
::
write
(
$result
,
'isUserByweiXin'
);
//记录日志
if
(
$result
)
{
return
true
;
...
...
application/task/controller/PrivacyNumber.php
View file @
8e758348
...
...
@@ -439,7 +439,7 @@ class PrivacyNumber
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
totalAgentCall
(
$month
)
public
function
totalAgentCall
(
$month
=
''
)
{
set_time_limit
(
0
);
// 取消脚本运行时间的超时上限
$call
=
new
TAgentTotalCallModel
();
...
...
public/resource/js/performance_ranking.js
View file @
8e758348
...
...
@@ -256,7 +256,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
// if (grade < 27){
// index = data.data.grade
// } else {
// index = data.data.grade%26;
// index = data.data.grade%26;
// indexTimes = parseInt(data.data.grade/26)
// }
// var str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
...
...
@@ -278,14 +278,13 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
// }
// $('#table-title').text(text);
// },'json')
//
//
$
.
ajax
({
url
:
'/index/getRandKingListByAgentId'
,
type
:
'GET'
,
async
:
true
,
data
:
{
},
data
:
params
,
dataType
:
'json'
,
success
:
function
(
data
)
{
$
(
'#tbody'
).
empty
();
...
...
@@ -296,7 +295,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
if
(
grade
<
27
){
index
=
data
.
data
.
grade
}
else
{
index
=
data
.
data
.
grade
%
26
;
index
=
data
.
data
.
grade
%
26
;
indexTimes
=
parseInt
(
data
.
data
.
grade
/
26
)
}
var
str
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
;
...
...
@@ -315,7 +314,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
text
=
"顾问职称"
+
value
+
"档"
}
else
if
(
name
==
5
){
text
=
"无职称职称"
+
value
+
"档"
}
}
$
(
'#table-title'
).
text
(
text
);
},
error
:
function
(
data
){
...
...
@@ -326,9 +325,9 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
$
(
'#overlay'
).
fadeOut
(
''
)
}
});
},
//
loadTable
:
function
(
data
,
gradge
){
...
...
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