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
4e483d80
Commit
4e483d80
authored
Jun 21, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
1139e504
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
PerformanceService.php
application/api_broker/service/PerformanceService.php
+1
-1
Index.php
application/app_broker/controller/Index.php
+3
-0
No files found.
application/api_broker/service/PerformanceService.php
View file @
4e483d80
...
@@ -413,7 +413,7 @@ class PerformanceService
...
@@ -413,7 +413,7 @@ class PerformanceService
if
(
$start_time
==
$now_date
&&
$end_time
==
$now_date
)
{
if
(
$start_time
==
$now_date
&&
$end_time
==
$now_date
)
{
$param
[
"id"
]
=
array
(
"in"
,
$agent_ids
);
$param
[
"id"
]
=
array
(
"in"
,
$agent_ids
);
//
todo
1.获取所有经纪人
// 1.获取所有经纪人
$field
=
"id as agent_id,store_id"
;
$field
=
"id as agent_id,store_id"
;
$group
=
""
;
$group
=
""
;
if
(
$is_store
==
2
)
{
if
(
$is_store
==
2
)
{
...
...
application/app_broker/controller/Index.php
View file @
4e483d80
...
@@ -47,6 +47,7 @@ class Index
...
@@ -47,6 +47,7 @@ class Index
// 验证open_id是否已经存在,存在则更新
// 验证open_id是否已经存在,存在则更新
$wxInfoObj
=
$this
->
wxInfoModel
->
getWxInfoByOpenId
(
$wx_union_id
);
$wxInfoObj
=
$this
->
wxInfoModel
->
getWxInfoByOpenId
(
$wx_union_id
);
$id
=
0
;
try
{
try
{
if
(
$wxInfoObj
&&
count
(
$wxInfoObj
)
>
0
)
{
if
(
$wxInfoObj
&&
count
(
$wxInfoObj
)
>
0
)
{
$userInfo
[
"id"
]
=
$wxInfoObj
[
0
][
"id"
];
$userInfo
[
"id"
]
=
$wxInfoObj
[
0
][
"id"
];
...
@@ -60,6 +61,8 @@ class Index
...
@@ -60,6 +61,8 @@ class Index
$conditions
[
"buyer_id"
]
=
$id
;
$conditions
[
"buyer_id"
]
=
$id
;
$fields
=
"id,user_nick,user_phone,user_pic,other_pic"
;
$fields
=
"id,user_nick,user_phone,user_pic,other_pic"
;
$user_info
=
$this
->
userModel
->
getUserByWhere
(
$conditions
,
$fields
);
$user_info
=
$this
->
userModel
->
getUserByWhere
(
$conditions
,
$fields
);
Log
::
record
(
"session wx -----------------"
.
json_encode
(
$user_info
),
"info"
);
if
(
count
(
$user_info
)
>
0
)
{
if
(
count
(
$user_info
)
>
0
)
{
//下载页
//下载页
header
(
"Location:"
.
CURRENT_URL
.
"app/download_c"
);
header
(
"Location:"
.
CURRENT_URL
.
"app/download_c"
);
...
...
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