Commit 493030a3 authored by xishifeng's avatar xishifeng

优化

parent 95b162ac
console.log(location.href);
var ServerHost = location.origin; var ServerHost = location.origin;
var ServerHostTempC = 'https://pre2.tonglianjituan.com'; var ServerHostTempC = 'https://pre2.tonglianjituan.com';
//var ServerHostTempC = 'http://192.168.2.13'; //var ServerHostTempC = 'http://192.168.2.13';
...@@ -65,7 +66,6 @@ function Compatible(obj) { ...@@ -65,7 +66,6 @@ function Compatible(obj) {
//xishifeng 2017-05-08 //xishifeng 2017-05-08
//同联和福居的有区别 //同联和福居的有区别
function h5Page(token, fn) { function h5Page(token, fn) {
console.log(location.href);
localStorage.setItem('token', token); localStorage.setItem('token', token);
fn(); fn();
// $.ajax({ // $.ajax({
...@@ -113,7 +113,6 @@ function h5Page(token, fn) { ...@@ -113,7 +113,6 @@ function h5Page(token, fn) {
//验证C端token //验证C端token
function h5PageC(token, fn) { function h5PageC(token, fn) {
console.log(location.href);
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: ServerHostTempC + "/broker/getAgentsByPhone", url: ServerHostTempC + "/broker/getAgentsByPhone",
......
console.log(location.href);
// The Vue build version to load with the `import` command // The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias. // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue' import Vue from 'vue'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment