Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
        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);
        }