Exemple #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;
 }
Exemple #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;
 }
Exemple #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);
        }
Exemple #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);
        }