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
e4c477bc
Commit
e4c477bc
authored
Feb 20, 2019
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片
parent
2f11cd04
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
Feed.php
application/api_broker/controller/Feed.php
+1
-1
Shop.php
application/api_broker/controller/Shop.php
+1
-1
Statement.php
application/api_broker/controller/Statement.php
+2
-2
Broker.php
application/index/controller/Broker.php
+1
-1
Member.php
application/index/controller/Member.php
+1
-1
Evaluate.php
application/model/Evaluate.php
+1
-1
SNews.php
application/model/SNews.php
+1
-1
Users.php
application/model/Users.php
+1
-1
No files found.
application/api_broker/controller/Feed.php
View file @
e4c477bc
...
...
@@ -64,7 +64,7 @@ class Feed extends Basic
foreach
(
$data
as
$k
=>
$v
)
{
if
(
$v
[
'type'
]
==
0
)
{
//todo 0923 经理提的问题
$data
[
$k
][
'icon'
]
=
CURRENT
_URL
.
"resource/image/notice_xibaotl.png"
;
$data
[
$k
][
'icon'
]
=
IMAGES
_URL
.
"resource/image/notice_xibaotl.png"
;
$data
[
$k
][
'content'
]
=
"恭喜
{
$v
[
'content'
]
}
成交
{
$v
[
'house_title'
]
}
商铺一套"
;
unset
(
$data
[
$k
]);
}
...
...
application/api_broker/controller/Shop.php
View file @
e4c477bc
...
...
@@ -1050,7 +1050,7 @@ class Shop extends Basic
$res
=
$this
->
gHousesModel
->
getExclusive
(
$this
->
params
[
'houses_id'
]);
// dump($res);
foreach
(
$res
[
'exclusive_img'
]
as
$key
=>
$val
)
{
$res
[
'exclusive_img'
][
$key
][
'file_name'
]
=
CURRENT
_URL
.
'resource/lib/Attachments/images/'
.
$val
[
'img_name'
];
$res
[
'exclusive_img'
][
$key
][
'file_name'
]
=
IMAGES
_URL
.
'resource/lib/Attachments/images/'
.
$val
[
'img_name'
];
$res
[
'exclusive_img'
][
$key
][
'save_path'
]
=
$val
[
'img_name'
];
}
}
else
{
...
...
application/api_broker/controller/Statement.php
View file @
e4c477bc
...
...
@@ -115,7 +115,7 @@ class Statement extends Basic
$data
[
'agent_id'
]
=
$this
->
params
[
'agent_id'
];
$data
[
'img_url'
]
=
$img_name
;
$data
[
'type'
]
=
$this
->
params
[
'type'
];
$data
[
'img_name'
]
=
CURRENT
_URL
.
$url
;
$data
[
'img_name'
]
=
IMAGES
_URL
.
$url
;
$result
=
$agent_report
->
editData
(
$data
);
}
else
{
$result
=
0
;
...
...
@@ -194,7 +194,7 @@ class Statement extends Basic
$data
[
'list'
]
=
$agent_report
->
getList
(
$pageNo
,
$pageSize
,
'id desc'
,
$fields
,
$where
);
$data
[
'total'
]
=
$agent_report
->
getTotal
(
$where
);
foreach
(
$data
[
'list'
]
as
$k
=>
$v
)
{
$data
[
'list'
][
$k
][
'img_url'
]
=
CURRENT
_URL
.
'static/week_work_img/'
.
$data
[
'list'
][
$k
][
'img_url'
];
$data
[
'list'
][
$k
][
'img_url'
]
=
IMAGES
_URL
.
'static/week_work_img/'
.
$data
[
'list'
][
$k
][
'img_url'
];
}
return
$this
->
response
(
$code
,
$msg
,
$data
);
}
...
...
application/index/controller/Broker.php
View file @
e4c477bc
...
...
@@ -1016,7 +1016,7 @@ class Broker extends Basic
if
(
!
isset
(
$params
[
"agents_black_list_id"
]))
{
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
$internet_path
=
CURRENT
_URL
.
'static/agent_black_list/'
;
$internet_path
=
IMAGES
_URL
.
'static/agent_black_list/'
;
$m_agents_black_list
=
new
AAgentsBlackList
();
$m_agents_black_list_img
=
new
AAgentsBlackListImg
();
...
...
application/index/controller/Member.php
View file @
e4c477bc
...
...
@@ -343,7 +343,7 @@ class Member extends Basic{
foreach
(
$return_user_list
as
$k
=>
$v
)
{
if
(
$v
[
'user_pic'
])
{
$return_user_list
[
$k
][
'user_pic'
]
=
CURRENT
_URL
.
'static/head_portrait/'
.
$v
[
'user_pic'
];
$return_user_list
[
$k
][
'user_pic'
]
=
IMAGES
_URL
.
'static/head_portrait/'
.
$v
[
'user_pic'
];
}
else
{
$return_user_list
[
$k
][
'user_pic'
]
=
''
;
}
...
...
application/model/Evaluate.php
View file @
e4c477bc
...
...
@@ -58,7 +58,7 @@ class Evaluate extends Model
if
(
empty
(
$data
[
$k
][
'user_pic'
]))
{
$data
[
$k
][
'user_pic'
]
=
$data
[
$k
][
'user_pic'
];
}
else
{
$data
[
$k
][
'user_pic'
]
=
CURRENT
_URL
.
'/static/head_portrait/'
.
$data
[
$k
][
'user_pic'
];
$data
[
$k
][
'user_pic'
]
=
IMAGES
_URL
.
'/static/head_portrait/'
.
$data
[
$k
][
'user_pic'
];
}
if
(
$v
[
'evaluate_sign'
])
{
...
...
application/model/SNews.php
View file @
e4c477bc
...
...
@@ -93,7 +93,7 @@ class SNews extends BaseModel
->
select
();
if
(
!
empty
(
$file
[
0
][
'annex_file_name'
]))
{
$data
[
'annex_file_path'
]
=
CURRENT
_URL
.
'static/business_school_file/'
.
$file
[
0
][
'annex_file_name'
];
$data
[
'annex_file_path'
]
=
IMAGES
_URL
.
'static/business_school_file/'
.
$file
[
0
][
'annex_file_name'
];
}
foreach
(
$file
as
$k
=>
$v
)
{
...
...
application/model/Users.php
View file @
e4c477bc
...
...
@@ -170,7 +170,7 @@ class Users extends Model
$data
[
$k
]
=
$v
->
getData
();
if
(
$data
[
$k
][
'user_pic'
])
{
$data
[
$k
][
'user_pic'
]
=
CURRENT
_URL
.
'static/head_portrait/'
.
$data
[
$k
][
'user_pic'
];
$data
[
$k
][
'user_pic'
]
=
IMAGES
_URL
.
'static/head_portrait/'
.
$data
[
$k
][
'user_pic'
];
}
else
{
$data
[
$k
][
'user_pic'
]
=
''
;
}
...
...
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