public static WeixinResult Delete(int groupId)
 {
     string url = WeUtil.GetUrl(WeShopConst.DELETE_GROUP_URL);
     WeGroupId id = new WeGroupId(groupId);
     var result = WeUtil.PostToUri(url, id.WriteJson(), new WeixinResult());
     return result;
 }
Beispiel #2
0
        public static WeixinResult Delete(int groupId)
        {
            string    url    = WeUtil.GetUrl(WeShopConst.DELETE_GROUP_URL);
            WeGroupId id     = new WeGroupId(groupId);
            var       result = WeUtil.PostToUri(url, id.WriteJson(), new WeixinResult());

            return(result);
        }
Beispiel #3
0
        public static WeMerchantGroup Query(int groupId)
        {
            string    url     = WeUtil.GetUrl(WeShopConst.GROUP_ID_URL);
            WeGroupId request = new WeGroupId(groupId);
            var       result  = WeUtil.PostToUri(url, request.WriteJson(), new WeMerchantGroupFetchData());

            return(result.GroupDetail);
        }
Beispiel #4
0
 public static WeGroup Query(int groupId)
 {
     string url = WeUtil.GetUrl(WeShopConst.GROUP_ID_URL);
     WeGroupId request = new WeGroupId(groupId);
     var result = WeUtil.PostToUri(url, request.WriteJson(), new WeGroup());
     return result;
 }