|
@@ -158,11 +158,17 @@ export default {
|
|
|
scrollAnimation(currentY, 0)
|
|
|
},
|
|
|
submitInfo () {
|
|
|
+
|
|
|
+ //
|
|
|
+ let url = 'https://test.kj.colexiu.com/'
|
|
|
+ if(location.hostname == 'colexiu.com'){
|
|
|
+ url = 'https://kj.colexiu.com/'
|
|
|
+ }
|
|
|
this.$refs["form"].validate((res) => {
|
|
|
if (res) {
|
|
|
console.log("发送请求");
|
|
|
axios({
|
|
|
- url: "https://test.kj.colexiu.com/api-user/tenantApply/add",
|
|
|
+ url: url+"api-user/tenantApply/add",
|
|
|
method: "post",
|
|
|
data: qs.stringify(this.form),
|
|
|
headers: {
|
|
@@ -356,4 +362,4 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|