|
@@ -69,7 +69,7 @@ import axios from "axios";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- url:'192.168.80.253:7777',
|
|
|
+ url:'http://192.168.80.253:7777/',
|
|
|
// url:'http://192.168.80.185:7777',
|
|
|
loading: false,
|
|
|
ruleForm: {
|
|
@@ -241,7 +241,7 @@ export default {
|
|
|
},
|
|
|
// 获取分支
|
|
|
getBranchpage() {
|
|
|
- axios.get(this.url+"/getBranch").then((res) => {
|
|
|
+ axios.get(this.url+"getBranch").then((res) => {
|
|
|
res = res.data;
|
|
|
if (res.code == 0) {
|
|
|
this.ruleForm.branch = res.data;
|
|
@@ -253,7 +253,7 @@ export default {
|
|
|
if (valid) {
|
|
|
this.loading = true;
|
|
|
axios
|
|
|
- .post(this.url+"/send", {
|
|
|
+ .post(this.url+"send", {
|
|
|
project: this.ruleForm.selected_project,
|
|
|
webhook: this.ruleForm.webhook,
|
|
|
mode: this.ruleForm.selected_mode,
|