Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
lxx_pms
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
游宗学
lxx_pms
Commits
8ca9d647
提交
8ca9d647
authored
1月 23, 2021
作者:
游宗学
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
短信修改
上级
6ea418c4
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
18 行增加
和
5 行删除
+18
-5
SmsCaptchaHelper.class.php
PHP/Application/Common/Helper/SmsCaptchaHelper.class.php
+2
-2
TenantHelper.class.php
PHP/Application/Common/Helper/TenantHelper.class.php
+10
-2
ContractTemplateHeadLogic.class.php
...on/Logic/TemplateHead/ContractTemplateHeadLogic.class.php
+6
-1
没有找到文件。
PHP/Application/Common/Helper/SmsCaptchaHelper.class.php
浏览文件 @
8ca9d647
...
...
@@ -112,9 +112,9 @@ class SmsCaptchaHelper extends BaseHelper
//代理出了问题
// if (!$this->restrictionIp($ip) && !$isSysSms) return '此IP地址发送短信太过频繁!';
if
(
!
$this
->
restrictionPhone
(
$phone
))
return
'此手机号码发送短信太过频繁!'
;
$result
=
$this
->
sendMessage
(
$phone
,
$message
,
'【乐乎】'
,
false
,
$apartment_id
=
0
,
$already_write
=
1
);
//
$result = $this->sendMessage($phone, $message, '【乐乎】', false, $apartment_id = 0, $already_write = 1);
// if ($result==false){
// $result = $this->sendAliyuCodeMessage($phone, '【乐乎
】', $code);
$result
=
$this
->
sendAliyuCodeMessage
(
$phone
,
'【回家理想乡
】'
,
$code
);
// }
return
$result
;
}
...
...
PHP/Application/Common/Helper/TenantHelper.class.php
浏览文件 @
8ca9d647
...
...
@@ -406,6 +406,7 @@ class TenantHelper extends BaseHelper{
c.room_id,
AES_DECRYPT(t.phone,'"
.
C
(
'TENANT_CRYPT'
)
.
"') as phone,
AES_DECRYPT(t.idcard,'"
.
C
(
'TENANT_CRYPT'
)
.
"') as idcard,
AES_DECRYPT(t.emergency_phone,'"
.
C
(
'TENANT_CRYPT'
)
.
"') as emergency_phone,
c.begin_time,
c.end_time,
c.rental,
...
...
@@ -441,8 +442,8 @@ class TenantHelper extends BaseHelper{
ss.sales_sources_name,
c.is_new,
t.emergency_contact,
t.
emergency_phone
,
t.i
dcard_type
,
t.
gender
,
t.i
nterpersonal_relation_configuration_id
,
t.remarks as tenant_remarks"
)
->
alias
(
'c'
)
...
...
@@ -464,6 +465,8 @@ class TenantHelper extends BaseHelper{
$surrender_contract_id
=
[];
$url_data
=
SITE_DOMAIN
;
$http
=
'https'
;
$interpersonal_relation_configuration_id
=
[];
$interpersonal_relation_configuration
=
[
1
=>
'父亲'
,
2
=>
'母亲'
,
3
=>
'儿女'
,
4
=>
'同事'
,
5
=>
'朋友'
,
6
=>
'兄妹'
,
7
=>
'其他'
,
8
=>
'配偶'
];
foreach
(
$tenant_list_data
as
$k
=>
$v
)
{
$advance_pay_rent_day
=
$v
[
'advance_pay_rent_day'
];
$nex_pay_day
=
convert_pay
(
$temp_pay_config
[
$v
[
'how_pay'
]]);
...
...
@@ -490,6 +493,10 @@ class TenantHelper extends BaseHelper{
$tenant_list_data
[
$k
][
'reservation_surrender_time'
]
=
$v
[
'reservation_surrender_time'
]
>
0
?
date
(
"Y-m-d"
,
$v
[
'reservation_surrender_time'
])
:
''
;
$tenant_list_data
[
$k
][
'surrender_time'
]
=
$v
[
'surrender_time'
]
?
date
(
'Y-m-d'
,
$v
[
'surrender_time'
])
:
''
;
$tenant_list_data
[
$k
][
'sign_status'
]
=
$isSigned
[
$tenant_list_data
[
$k
][
'is_sign'
]];
$tenant_list_data
[
$k
][
'interpersonal_relation'
]
=
$interpersonal_relation_configuration
[
$v
[
'interpersonal_relation_configuration_id'
]];
$tenant_list_data
[
$k
][
'room_rental'
]
=
$v
[
'rental'
];
$tenant_list_data
[
$k
][
'gender'
]
=
$v
[
'gender'
]
==
1
?
"男"
:
"女"
;
$pdfUrl
=
$http
.
'://'
.
$url_data
.
'/ContractIous/getPDFById'
;
$tenant_list_data
[
$k
][
'pdf_url'
]
=
$pdfUrl
;
$contract_ids
[]
=
$v
[
'contract_id'
];
...
...
@@ -501,6 +508,7 @@ class TenantHelper extends BaseHelper{
if
(
empty
(
$contract_ids
))
{
return
[
"status"
=>
1
,
'data'
=>
[],
"count"
=>
0
,
'is_con_tpl_conf'
=>
0
];
}
//获取委托转租数据
$reservation_surrender_where
[
'contract_id'
]
=
[
'in'
,
$contract_ids
];
$reservation_surrender_where
[
'entrust_surrender'
]
=
[
'eq'
,
1
];
...
...
PHP/Application/Common/Logic/TemplateHead/ContractTemplateHeadLogic.class.php
浏览文件 @
8ca9d647
...
...
@@ -79,7 +79,12 @@ class ContractTemplateHeadLogic extends BaseLogic
'ueto_employee_name'
=>
[
'value'
=>
"上户"
,
'is_show'
=>
0
],
'with_employee_name'
=>
[
'value'
=>
"带户"
,
'is_show'
=>
0
],
'surrender_time'
=>
[
'value'
=>
"退租时间"
,
'is_show'
=>
1
],
'create_time'
=>
[
'value'
=>
"创建时间"
,
'is_show'
=>
0
]
'create_time'
=>
[
'value'
=>
"创建时间"
,
'is_show'
=>
0
],
'emergency_phone'
=>
[
'value'
=>
"紧急联系人电话"
,
'is_show'
=>
1
],
'emergency_contact'
=>
[
'value'
=>
"紧急联系人"
,
'is_show'
=>
1
],
'gender'
=>
[
'value'
=>
"租客性别"
,
'is_show'
=>
1
],
'interpersonal_relation'
=>
[
'value'
=>
"紧急联系人关系"
,
'is_show'
=>
1
],
'contract_number'
=>
[
'value'
=>
"合同编号"
,
'is_show'
=>
1
],
];
return
$head_info
;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论