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
dcef1fc9
Commit
dcef1fc9
authored
Dec 22, 2017
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
头像URL
parent
380d985e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
config.php
application/api/config.php
+1
-1
Member.php
application/api/controller/Member.php
+1
-1
Evaluate.php
application/model/Evaluate.php
+1
-1
No files found.
application/api/config.php
View file @
dcef1fc9
...
...
@@ -4,7 +4,7 @@ error_reporting(E_ERROR | E_PARSE);
define
(
'PAGESIZE'
,
15
);
//分页每页条数
define
(
'ADMIN_URL_TL'
,
'https://admin.tonglianjituan.com/'
);
//B端网址
define
(
'C
_URL_TL'
,
'https://estate.tonglianjituan.com/'
);
//C端网
址
define
(
'C
URRENT_URL'
,
\think\Request
::
instance
()
->
server
(
'HTTP_HOST'
)
.
DS
);
//取当前域名地
址
return
[
'jwt_key'
=>
'tonglian+123'
,
...
...
application/api/controller/Member.php
View file @
dcef1fc9
...
...
@@ -397,7 +397,7 @@ class Member extends Basic
$data
[
'status'
]
=
200
;
$data
[
'msg'
]
=
'上传成功'
;
$data
[
'data'
]
=
[
'file_name'
=>
$img_path
];
$data
[
'data'
]
=
[
'file_name'
=>
CURRENT_URL
.
'static'
.
DS
.
'head_portrait'
.
DS
.
$img_path
];
}
else
{
// 上传失败获取错误信息
$data
[
'msg'
]
=
$file
->
getError
();
...
...
application/model/Evaluate.php
View file @
dcef1fc9
...
...
@@ -48,7 +48,7 @@ class Evaluate extends Model
foreach
(
$result
as
$k
=>
$v
)
{
$data
[
$k
]
=
$v
->
getData
();
$data
[
$k
][
'user_pic'
]
=
C
_URL_T
L
.
'/static/head_portrait/'
.
$data
[
$k
][
'user_pic'
];
$data
[
$k
][
'user_pic'
]
=
C
URRENT_UR
L
.
'/static/head_portrait/'
.
$data
[
$k
][
'user_pic'
];
if
(
$v
[
'evaluate_sign'
])
{
$data
[
$k
][
'evaluate_sign'
]
=
$sign
->
field
(
'sign_name,point_obj'
)
->
where
(
'id'
,
'in'
,
$v
[
'evaluate_sign'
])
...
...
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