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
8c439449
Commit
8c439449
authored
Dec 23, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖
parent
bb08685b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
zsb_api_model.php
new_admincp/applications/models/zsb_api_model.php
+1
-1
index.js
new_admincp/source/zsb/js/v1.0/real/index.js
+5
-1
No files found.
new_admincp/applications/models/zsb_api_model.php
View file @
8c439449
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
class
zsb_api_model
extends
MY_Model
{
class
zsb_api_model
extends
MY_Model
{
private
$host
=
'http://newrent
t
.house365.com'
;
private
$host
=
'http://newrent.house365.com'
;
private
$apiSource
=
'PC'
;
// 访问API使用的公用source
private
$apiSource
=
'PC'
;
// 访问API使用的公用source
private
$apiVersion
=
'1.0.0'
;
// 访问API使用的公用版本号
private
$apiVersion
=
'1.0.0'
;
// 访问API使用的公用版本号
private
$token
=
'ZSB_API'
;
private
$token
=
'ZSB_API'
;
...
...
new_admincp/source/zsb/js/v1.0/real/index.js
View file @
8c439449
...
@@ -16,6 +16,7 @@ var avaVm = avalon.define({
...
@@ -16,6 +16,7 @@ var avaVm = avalon.define({
},
},
openReal
:
function
()
{
openReal
:
function
()
{
var
_this
=
this
;
var
_this
=
this
;
var
index
=
layer
.
load
(
2
,
{
shade
:
false
});
$
.
ajax
({
$
.
ajax
({
type
:
'post'
,
type
:
'post'
,
url
:
'/realHouse/openReal'
,
url
:
'/realHouse/openReal'
,
...
@@ -33,6 +34,9 @@ var avaVm = avalon.define({
...
@@ -33,6 +34,9 @@ var avaVm = avalon.define({
_this
.
formData
.
transaction_id
=
data
.
transaction_id
;
_this
.
formData
.
transaction_id
=
data
.
transaction_id
;
//启动轮询
//启动轮询
_this
.
setInOrder
();
_this
.
setInOrder
();
},
complete
:
function
()
{
layer
.
closeAll
();
}
}
});
});
},
},
...
@@ -46,7 +50,7 @@ var avaVm = avalon.define({
...
@@ -46,7 +50,7 @@ var avaVm = avalon.define({
checkOrder
:
function
()
{
checkOrder
:
function
()
{
var
_this
=
this
var
_this
=
this
$
.
post
(
'/realHouse/realCheckPay'
,{
transaction_id
:
_this
.
formData
.
transaction_id
},
function
(
re
)
{
$
.
post
(
'/realHouse/realCheckPay'
,{
transaction_id
:
_this
.
formData
.
transaction_id
},
function
(
re
)
{
if
(
re
.
code
==
1
){
if
(
re
.
result
==
1
){
layer
.
msg
(
'放心看已开通,正在跳转'
);
layer
.
msg
(
'放心看已开通,正在跳转'
);
setTimeout
(
function
()
{
setTimeout
(
function
()
{
window
.
location
.
href
=
'/realHouse/marginAccount/'
;
window
.
location
.
href
=
'/realHouse/marginAccount/'
;
...
...
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