fix: 禅道同步缺陷没有同步已关闭的

This commit is contained in:
chenjianxing 2022-04-26 19:20:01 +08:00 committed by 刘瑞斌
parent 728993e72f
commit 79b1b96275
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ public class ZentaoGetClient extends ZentaoClient {
private static final Pattern IMG_PATTERN = Pattern.compile("m=file&f=read&fileID=(.*?)\"/>");
private static final String PRODUCT_GET = "&module=product&methodName=getById&params=productID={0}&zentaosid={1}";
// 注意 recTotal={1}&recPerPage={2}&pageID={3} 顺序不能调换有点恶心
private static final String BUG_LIST_URL = "/?m=bug&f=browse&productID={0}&branch=&browseType=&param=0&orderBy=&recTotal={1}&recPerPage={2}&pageID={3}&t=json&zentaosid={4}";
private static final String BUG_LIST_URL = "/?m=bug&f=browse&productID={0}&branch=&browseType=all&param=0&orderBy=&recTotal={1}&recPerPage={2}&pageID={3}&t=json&zentaosid={4}";
RequestUrl request = new RequestUrl();

View File

@ -21,7 +21,7 @@ public class ZentaoPathInfoClient extends ZentaoClient {
private static final String REPLACE_IMG_URL = "<img src=\"%s/file-read-$1\"/>";
private static final Pattern IMG_PATTERN = Pattern.compile("file-read-(.*?)\"/>");
private static final String PRODUCT_GET = "/api-getModel-product-getById-productID={0}?zentaosid={1}";
private static final String BUG_LIST_URL = "/bug-browse-{1}---0--{2}-{3}-{4}.json?zentaosid={5}";
private static final String BUG_LIST_URL = "/bug-browse-{1}---0--{2}-{3}-{4}.json?browseType=all&zentaosid={5}";
public ZentaoPathInfoClient(String url) {