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
90f3adf6
Commit
90f3adf6
authored
Jan 17, 2019
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
baidu_send
parent
ac71c5dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
baidu_send.js
public/app/js/baidu_send.js
+16
-1
No files found.
public/app/js/baidu_send.js
View file @
90f3adf6
...
...
@@ -47,11 +47,17 @@
});
return
false
;
}
var
source
=
1
;
if
(
getUrlParam
(
"source"
)
){
source
=
getUrlParam
(
"source"
)
;
}
var
params
=
{
'type'
:
type
,
'phone'
:
number
,
'source'
:
1
'source'
:
source
}
console
.
log
(
source
)
// var source = getUrlParam("source")
console
.
log
(
number
);
$
.
get
(
'/broker/addSpreadUser'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
){
...
...
@@ -79,6 +85,15 @@
})
})();
function
getUrlParam
(
name
)
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
r
=
decodeURI
(
window
.
location
.
search
).
substr
(
1
).
match
(
reg
);
if
(
r
!=
null
)
return
unescape
(
r
[
2
]);
return
null
;
}
//$(document).ready(function(){
// console.log("12312312321")
// $.get('/broker/getVolume',function(data){
...
...
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