Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
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
esf
fenzhan_zsb
Commits
bb08685b
Commit
bb08685b
authored
Dec 23, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖放心看
parent
15d6ac35
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
14 deletions
+62
-14
webServers.xml
.idea/webServers.xml
+1
-1
zsb_api_model.php
new_admincp/applications/models/zsb_api_model.php
+2
-0
realHouse.php
new_admincp/applications/zsb/controllers/realHouse.php
+32
-8
realHouse_marginAccount.php
...ncp/applications/zsb/views/nj/realHouse_marginAccount.php
+7
-5
index.js
new_admincp/source/zsb/js/v1.0/real/index.js
+20
-0
No files found.
.idea/webServers.xml
View file @
bb08685b
...
...
@@ -11,7 +11,7 @@
</fileTransfer>
</webServer>
<webServer
id=
"67fb6ca5-037a-4b69-abe5-05e315a02402"
name=
"192.168.105.106"
url=
"http://192.168.105.106"
>
<fileTransfer
host=
"192.168.105.106"
port=
"21"
rootFolder=
"/
webroot
/fenzhan_agent"
>
<fileTransfer
host=
"192.168.105.106"
port=
"21"
rootFolder=
"/
preview_release
/fenzhan_agent"
>
<advancedOptions>
<advancedOptions
dataProtectionLevel=
"Private"
passiveMode=
"true"
shareSSLContext=
"true"
/>
</advancedOptions>
...
...
new_admincp/applications/models/zsb_api_model.php
View file @
bb08685b
...
...
@@ -11,8 +11,10 @@ class zsb_api_model extends MY_Model{
private
$apiUrl
=
array
(
'getToken'
=>
'/api/zsb-app/api-token'
,
//获取令牌
'realInfo'
=>
'/zsbapi/real-manage/get-real-info'
,
//获取状态
'openReal'
=>
'/zsbapi/real-manage/open-real'
,
//开通放心看
'realCheckPay'
=>
'/zsbapi/real-manage/real-check-pay'
,
//支付检查
'realHouseRemit'
=>
'/zsbapi/real-manage/real-house-remit'
,
//放心看提现
);
...
...
new_admincp/applications/zsb/controllers/realHouse.php
View file @
bb08685b
...
...
@@ -173,18 +173,31 @@ class realHouse extends MY_Controller {
//经纪人参数
$info
=
$this
->
user_arr
;
$uid
=
$info
[
'uid'
];
$realHouseMoney
=
$this
->
real_house_model
->
getBrokerRealHouseMoney
(
$uid
);
$brokerLog
=
$this
->
real_house_model
->
getBrokerLog
(
$uid
);
$broker_info
=
$this
->
real_house_model
->
getRealHouseInfo
(
$uid
);
$real_status
=
$broker_info
[
'real_status'
];
$realHouseMoney
=
empty
(
$broker_info
[
'real_house_money'
])
?
0
:
$broker_info
[
'real_house_money'
];
$this
->
load
->
model
(
'zsb_api_model'
);
$info
=
$this
->
zsb_api_model
->
getRequrstData
(
'realInfo'
);
$data
=
$info
[
'data'
];
$unReportResult
=
$data
[
'unReportResult'
];
$is_applay
=
0
;
if
(
$unReportResult
<=
0
){
$is_applay
=
1
;
}
$data_page
[
'statusList'
]
=
array
(
'0'
=>
'待处理'
,
'1'
=>
'已处理'
,
'2'
=>
'成功'
,
'3'
=>
'处理失败'
);
$real_status
=
$data
[
'real_status'
];
$money
=
$data
[
'money'
];
$real_house_money
=
$data
[
'real_house_money'
];
$data_page
[
'real_status'
]
=
$real_status
;
$data_page
[
'is_applay'
]
=
0
;
$data_page
[
'is_applay'
]
=
$is_applay
;
$data_page
[
'real_money'
]
=
$money
;
$data_page
[
'brokerLog'
]
=
$brokerLog
;
$data_page
[
'realHouseMoney'
]
=
$real
HouseM
oney
;
$data_page
[
'realHouseMoney'
]
=
$real
_house_m
oney
;
$data_page
[
'page_title'
]
=
'放心看管理-保证金账户'
;
$data_page
[
'css'
]
=
load_css
(
'zsb/css/v1.0/style1.css,zsb/css/v1.0/realhouse.css'
);
$data_page
[
'info'
]
=
$info
;
...
...
@@ -886,4 +899,15 @@ class realHouse extends MY_Controller {
$re
=
$this
->
zsb_api_model
->
getRequrstData
(
'realCheckPay'
,
$post
);
echo
json_encode
(
$re
);
die
;
}
/*
* 放心看开通的检查
*/
public
function
realHouseRemit
(){
$post
=
$this
->
input
->
post
();
$this
->
load
->
model
(
'zsb_api_model'
);
$re
=
$this
->
zsb_api_model
->
getRequrstData
(
'realHouseRemit'
,
$post
);
echo
json_encode
(
$re
);
die
;
}
}
new_admincp/applications/zsb/views/nj/realHouse_marginAccount.php
View file @
bb08685b
...
...
@@ -24,16 +24,18 @@
<a
class=
"btnB btnSubmit radius5"
ms-if=
"@formData.step == 1"
href=
"javascript:void(0)"
ms-click=
"@isOpenReal()"
>
开通
</a>
<?php
}
else
{
?>
<?php
if
(
$is_applay
){
?>
<a
class=
"btnB radius5"
style=
"background-color: grey;border: 1px solid grey;text-decoration: none;"
href=
"javascript:void(0)"
>
申请提现
</a>
<?php
if
(
$is_applay
>
0
&&
$realHouseMoney
>
0
){
?>
<a
class=
"btnB btnSubmit radius5"
href=
"javascript:void(0)"
ms-click=
"@remit()"
>
申请提现
</a>
<?php
}
else
{
?>
<a
class=
"btnB btnSubmit radius5"
href=
"javascript:void(0)"
onclick=
"remit(0)"
>
申请提现
</a>
<?php
}
?>
<a
class=
"btnB radius5"
style=
"background-color: grey;border: 1px solid grey;text-decoration: none;"
href=
"javascript:void(0)"
>
申请提现
</a>
<?php
}
?>
<?php
}
?>
</div>
</div>
<?php
if
(
$real
HouseM
oney
==
0
&&
$real_status
!=
1
)
{
?>
<?php
if
(
$real
_m
oney
==
0
&&
$real_status
!=
1
)
{
?>
<div
class=
"mt10 pb10"
>
缴纳
<span
class=
"orange"
>
299
</span>
元保证金即可参与真房源计划。
<a
class=
"blue"
target=
"_blank"
href=
"http://zsb.house365.com/help/nj/?p=1373"
>
查看详细介绍
</a>
缴纳
<span
class=
"orange"
>
<?=
$real_money
?>
</span>
元保证金即可参与真房源计划。
<a
class=
"blue"
target=
"_blank"
href=
"http://zsb.house365.com/help/nj/?p=1373"
>
查看详细介绍
</a>
</div>
<?php
}
?>
</div>
...
...
new_admincp/source/zsb/js/v1.0/real/index.js
View file @
bb08685b
...
...
@@ -60,6 +60,26 @@ var avaVm = avalon.define({
_this
.
checkOrder
()
},
2000
);
},
//提现
remit
:
function
()
{
var
_this
=
this
;
$
.
ajax
({
type
:
'post'
,
url
:
'/realHouse/realHouseRemit'
,
data
:
{},
dataType
:
'json'
,
success
:
function
(
re
)
{
if
(
re
.
result
!=
1
){
_this
.
waringOpen
(
re
.
msg
);
return
false
;
}
lay
.
msg
(
'已成功申请提现'
);
setTimeout
(
function
()
{
window
.
location
.
href
=
'/realHouse/marginAccount/'
;
},
1000
);
}
});
}
});
$
(
function
(){
...
...
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