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
5d95a325
Commit
5d95a325
authored
May 13, 2018
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
f42407e6
2981e724
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
Broker.php
application/api_broker/controller/Broker.php
+1
-1
config.php
application/config.php
+1
-1
GHouses.php
application/model/GHouses.php
+5
-0
PrivacyNumber.php
application/task/controller/PrivacyNumber.php
+1
-1
No files found.
application/api_broker/controller/Broker.php
View file @
5d95a325
...
...
@@ -399,7 +399,7 @@ class Broker extends Basic
$file
=
request
()
->
file
(
'image'
);
if
(
$file
){
$path
=
ROOT_PATH
.
'public'
.
DS
.
'static'
.
DS
.
'
agent_head_portrait
'
;
$path
=
ROOT_PATH
.
'public'
.
DS
.
'static'
.
DS
.
'
user_header
'
;
$info
=
$file
->
validate
([
'size'
=>
512000
,
'ext'
=>
'jpg,png'
])
//限制500KB
->
move
(
$path
);
if
(
$info
){
...
...
application/config.php
View file @
5d95a325
...
...
@@ -16,7 +16,7 @@ define('ADMIN_URL_TL','https://admin.tonglianjituan.com/'); //B端网址
//define('TEST_ADMIN_URL_TL','https://dev.tonglianjituan.com/'); //B端网址
define
(
'CURRENT_URL'
,
'https://'
.
$_SERVER
[
'HTTP_HOST'
]
.
'/'
);
//取当前域名地址
define
(
'HEADERIMGURL'
,
CURRENT_URL
.
'static'
.
DS
.
'head_portrait/'
);
//头像地址
define
(
'AGENTHEADERIMGURL'
,
CURRENT_URL
.
'static'
.
DS
.
'
agent_head_portrait
/'
);
//头像地址
define
(
'AGENTHEADERIMGURL'
,
CURRENT_URL
.
'static'
.
DS
.
'
user_header
/'
);
//头像地址
define
(
'CHAT_IMG_URL'
,
CURRENT_URL
.
'static'
.
DS
.
'chat_image/'
);
//聊天图片地址
define
(
'CK_IMG_URL'
,
CURRENT_URL
.
'/resource/lib/Attachments/'
);
//ck 资源文件
define
(
'_POOLKEY'
,
'FC100000022056027'
);
//隐私号码
...
...
application/model/GHouses.php
View file @
5d95a325
...
...
@@ -355,6 +355,11 @@ class GHouses extends BaseModel
$params
[
'slotting_fee'
]
=
$params
[
'slotting_fee'
]
*
100
;
//存分
}
//剩余商铺为0下架
if
(
empty
(
$params
[
'residue_num'
]))
{
$params
[
'status'
]
=
2
;
}
//新增或编辑
if
(
$params
[
'id'
]
==
''
)
{
...
...
application/task/controller/PrivacyNumber.php
View file @
5d95a325
...
...
@@ -29,7 +29,7 @@ class PrivacyNumber
unset
(
$post_data
[
0
][
'id'
]);
//阿里大于返回是的id改为report_id
if
(
$post_data
[
0
][
'phone_no'
])
{
$agents_id
=
Db
::
table
(
'agents'
)
->
where
(
"phone='
{
$post_data
[
0
][
'phone_no'
]
}
' AND password IS NOT NULL"
)
->
value
(
'id'
);
$agents_id
=
Db
::
table
(
'a
_a
gents'
)
->
where
(
"phone='
{
$post_data
[
0
][
'phone_no'
]
}
' AND password IS NOT NULL"
)
->
value
(
'id'
);
if
(
empty
(
$agents_id
))
{
$agents_id
=
Db
::
table
(
'a_agents_phone'
)
->
where
(
'phone'
,
$post_data
[
0
][
'phone_no'
])
->
value
(
'agents_id'
);
}
...
...
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