package com.haochuan.djbl; /** * Created by Lyn on 2018/5/30. */ public class UrlManager { private String host = "http://202.99.114.74:56199/"; public String getCollectedStateUrl(String uId,String sourceId){ return host + "index.php?m=Home&c=DuduApi&a=isCollect" + "&uid=" + uId +"&source_id=" + sourceId; } public String addCollectedStateUrl(String uId,String sourceId,int type){ return host + "index.php?m=Home&c=DuduApi&a=upWatchCollectLog" + "&type=" + type + "&uid=" + uId +"&source_id=" + sourceId; } public String cancelCollectedStateUrl(String uId,String sourceId,int type){ return host + "index.php?m=Home&c=DuduApi&a=delWatchCollectLog" + "&type=" + type + "&uid=" + uId +"&source_id=" + sourceId; } }