|
@@ -913,7 +913,7 @@ export default {
|
|
|
fd.append("file", blob, Date.now() + ".jpg");
|
|
fd.append("file", blob, Date.now() + ".jpg");
|
|
|
//Ajax上传FormData对象
|
|
//Ajax上传FormData对象
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
- url: "http://192.168.0.135:8011/web/upload",
|
|
|
|
|
|
|
+ url: "http://8.135.106.227:8011/web/upload",
|
|
|
type: "POST",
|
|
type: "POST",
|
|
|
cache: false,
|
|
cache: false,
|
|
|
data: fd,
|
|
data: fd,
|
|
@@ -924,7 +924,7 @@ export default {
|
|
|
console.log("上传图片成功", res);
|
|
console.log("上传图片成功", res);
|
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
|
this.$message.success("生成二维码成功");
|
|
this.$message.success("生成二维码成功");
|
|
|
- this.qrCodeUrl = "http://192.168.0.135:8011/" + res.data;
|
|
|
|
|
|
|
+ this.qrCodeUrl = "http://8.135.106.227:8011/" + res.data;
|
|
|
this.topicXShow = true;
|
|
this.topicXShow = true;
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -956,7 +956,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
//发送请求
|
|
//发送请求
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
- url: "http://192.168.0.135:8011/web/comment/save",
|
|
|
|
|
|
|
+ url: "http://8.135.106.227:8011/web/comment/save",
|
|
|
type: "POST",
|
|
type: "POST",
|
|
|
data: JSON.stringify(data),
|
|
data: JSON.stringify(data),
|
|
|
dataType: "json",
|
|
dataType: "json",
|
|
@@ -1058,7 +1058,7 @@ export default {
|
|
|
fd.append("file", blob, Date.now() + ".jpg");
|
|
fd.append("file", blob, Date.now() + ".jpg");
|
|
|
//Ajax上传FormData对象
|
|
//Ajax上传FormData对象
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
- url: "http://192.168.0.135:8011/web/upload",
|
|
|
|
|
|
|
+ url: "http://8.135.106.227:8011/web/upload",
|
|
|
type: "POST",
|
|
type: "POST",
|
|
|
cache: false,
|
|
cache: false,
|
|
|
data: fd,
|
|
data: fd,
|
|
@@ -1069,7 +1069,7 @@ export default {
|
|
|
console.log("上传图片成功", res);
|
|
console.log("上传图片成功", res);
|
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
|
this.$message.success("生成二维码成功");
|
|
this.$message.success("生成二维码成功");
|
|
|
- this.qrCodeUrl = "http://192.168.0.135:8011/" + res.data;
|
|
|
|
|
|
|
+ this.qrCodeUrl = "http://8.135.106.227:8011/" + res.data;
|
|
|
this.topicXShow = true;
|
|
this.topicXShow = true;
|
|
|
if (myBoo) this.toPictureShow=false
|
|
if (myBoo) this.toPictureShow=false
|
|
|
}
|
|
}
|
|
@@ -1181,7 +1181,7 @@ export default {
|
|
|
getList(data){
|
|
getList(data){
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
type: "POST",
|
|
type: "POST",
|
|
|
- url: "http://192.168.0.135:8011/web/comment/list",
|
|
|
|
|
|
|
+ url: "http://8.135.106.227:8011/web/comment/list",
|
|
|
data: JSON.stringify(data),
|
|
data: JSON.stringify(data),
|
|
|
dataType: "json",
|
|
dataType: "json",
|
|
|
contentType: "application/json;charset=UTF-8",
|
|
contentType: "application/json;charset=UTF-8",
|