Commit 3cdcca66 authored by 黎博's avatar 黎博

获取分支从200改为300

parent 00268441
......@@ -142,7 +142,7 @@ const gitBranch = async (svcName) => {
const version = proConfig.git_lab === 'gitabc.xyqb.com' ? 'v3' : 'v4'
const token = config.gitlab.token
const data = await awaitRequest({
url: `http://${proConfig.git_lab}/api/${version}/projects?per_page=200&search=${svcName}&private_token=${token}&simple=true`,
url: `http://${proConfig.git_lab}/api/${version}/projects?per_page=300&search=${svcName}&private_token=${token}&simple=true`,
method: 'GET',
})
if (data.length === 0) {
......
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