Browse Source

优化clone

dev-active_learn
chenzhihang 1 year ago
parent
commit
855b774f73
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/GitServiceImpl.java

+ 1
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/GitServiceImpl.java View File

@@ -118,7 +118,7 @@ public class GitServiceImpl implements GitService {
// "new_branch_name": "SsS",
// "old_branch_name": "master"
// }
String createBranchUrl = "https://www.gitlink.org.cn/api/v1/" + owner + "/" + projectName + "/branches.json";
String createBranchUrl = gitendpoint + "/api/v1/" + owner + "/" + projectName + "/branches.json";
Map<String, Object> resMap = new HashMap<>();
resMap.put("new_branch_name", branchName);
resMap.put("old_branch_name", oldBranchName);


Loading…
Cancel
Save