public static WeShelf Query(int shelfId) { string url = WeUtil.GetUrl(WeShopConst.SHELF_ID_URL); WeShelfId request = new WeShelfId(shelfId); var result = WeUtil.PostToUri(url, request.WriteJson(), new WeShelfInfo()); return (WeShelf)result; }
public static WeixinResult Delete(int shelfId) { string url = WeUtil.GetUrl(WeShopConst.DELETE_SHELF_URL); WeShelfId request = new WeShelfId(shelfId); var result = WeUtil.PostToUri(url, request.WriteJson(), new WeixinResult()); return result; }
public static WeShelf Query(int shelfId) { string url = WeUtil.GetUrl(WeShopConst.SHELF_ID_URL); WeShelfId request = new WeShelfId(shelfId); var result = WeUtil.PostToUri(url, request.WriteJson(), new WeShelfInfo()); return((WeShelf)result); }
public static WeixinResult Delete(int shelfId) { string url = WeUtil.GetUrl(WeShopConst.DELETE_SHELF_URL); WeShelfId request = new WeShelfId(shelfId); var result = WeUtil.PostToUri(url, request.WriteJson(), new WeixinResult()); return(result); }