fix: 禅道同步缺陷没有同步已关闭的
This commit is contained in:
parent
728993e72f
commit
79b1b96275
|
@ -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¶ms=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=¶m=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¶m=0&orderBy=&recTotal={1}&recPerPage={2}&pageID={3}&t=json&zentaosid={4}";
|
||||
|
||||
RequestUrl request = new RequestUrl();
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue