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
ee079189
Commit
ee079189
authored
May 05, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
硬盘容量判断
parent
5c00d3c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
Shop.php
application/api/controller/Shop.php
+1
-0
GHousesToAgents.php
application/model/GHousesToAgents.php
+1
-1
PrivacyNumber.php
application/task/controller/PrivacyNumber.php
+11
-0
No files found.
application/api/controller/Shop.php
View file @
ee079189
...
@@ -406,6 +406,7 @@ class Shop extends Basic
...
@@ -406,6 +406,7 @@ class Shop extends Basic
$verify
=
new
VerifyService
();
$verify
=
new
VerifyService
();
$agentId
=
$verify
->
getPanpartyAgentsByHouseId
(
$params
[
"id"
]);
$agentId
=
$verify
->
getPanpartyAgentsByHouseId
(
$params
[
"id"
]);
$result
[
"panParty"
]
=
$agentId
;
$result
[
"panParty"
]
=
$agentId
;
$result
[
"head_portrait"
]
=
AGENTHEADERIMGURL
;
$result
[
'new_sign_rule'
]
=
"付
{
$result
[
'payment_month'
]
}
押
{
$result
[
'deposit_month'
]
}
,签订
{
$result
[
'age_limit'
]
}
年"
;
$result
[
'new_sign_rule'
]
=
"付
{
$result
[
'payment_month'
]
}
押
{
$result
[
'deposit_month'
]
}
,签订
{
$result
[
'age_limit'
]
}
年"
;
$result
[
'payment_deposit'
]
=
empty
(
$result
[
'payment_month'
])
?
""
:
"付
{
$result
[
'payment_month'
]
}
押
{
$result
[
'deposit_month'
]
}
"
;
$result
[
'payment_deposit'
]
=
empty
(
$result
[
'payment_month'
])
?
""
:
"付
{
$result
[
'payment_month'
]
}
押
{
$result
[
'deposit_month'
]
}
"
;
...
...
application/model/GHousesToAgents.php
View file @
ee079189
...
@@ -404,7 +404,7 @@ class GHousesToAgents extends BaseModel
...
@@ -404,7 +404,7 @@ class GHousesToAgents extends BaseModel
public
function
getHousesUpdateAgents
(
$houses_id
)
public
function
getHousesUpdateAgents
(
$houses_id
)
{
{
$select_data
=
$this
$select_data
=
$this
->
field
(
'b.id,b.store_id,b.name,b.img,a.type,b.phone,c.store_name,d.district_name'
)
->
field
(
'b.id,b.store_id,b.name,b.img,a.type,b.phone,c.store_name,d.district_name
,b.img
'
)
->
alias
(
'a'
)
->
alias
(
'a'
)
->
join
(
'a_agents b'
,
'a.agents_id = b.id'
,
'LEFT'
)
->
join
(
'a_agents b'
,
'a.agents_id = b.id'
,
'LEFT'
)
->
join
(
"a_store c"
,
"b.store_id = c.id"
,
"left"
)
->
join
(
"a_store c"
,
"b.store_id = c.id"
,
"left"
)
...
...
application/task/controller/PrivacyNumber.php
View file @
ee079189
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
namespace
app\task\controller
;
namespace
app\task\controller
;
use
app\api\untils\MessageUntils
;
use
app\api_broker\service\CallPhoneService
;
use
app\api_broker\service\CallPhoneService
;
use
app\api_broker\service\ClientService
;
use
app\api_broker\service\ClientService
;
use
app\api_broker\untils\PlsDemo
;
use
app\api_broker\untils\PlsDemo
;
...
@@ -129,8 +130,18 @@ class PrivacyNumber
...
@@ -129,8 +130,18 @@ class PrivacyNumber
return
json_encode
([
'code'
=>
101
,
'msg'
=>
'参数错误'
]);
return
json_encode
([
'code'
=>
101
,
'msg'
=>
'参数错误'
]);
}
}
if
(
$param
[
'record_down'
]
==
1
)
{
if
(
$param
[
'record_down'
]
==
1
)
{
$where
[
'record_down'
]
=
0
;
$where
[
'record_down'
]
=
0
;
$file_url
=
'/home/www/tl_estate/public/static/voice'
;
$space_voice
=
disk_free_space
(
$file_url
)
+
1024
*
1024
*
1024
*
1
;
//1G容量保存
$space_voice_local
=
disk_total_space
(
$file_url
);
if
(
$space_voice
>=
$space_voice_local
)
{
$message
=
new
MessageUntils
();
$message
->
sendCCPSMS
(
'13817616471'
,
[],
427917
);
return
;
}
}
}
if
(
$param
[
'record_down'
]
==
2
)
{
if
(
$param
[
'record_down'
]
==
2
)
{
...
...
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