public static CorpTag Create(string name) { TkDebug.AssertArgumentNullOrEmpty(name, "name", null); CorpTag data = new CorpTag { Name = name }; string url = WeCorpUtil.GetCorpUrl(WeCorpConst.CREATE_TAG, WeixinSettings.Current.CorpUserManagerSecret); return(WeUtil.PostToUri(url, data.WriteJson(WeConst.WRITE_SETTINGS), data)); }
public static CorpTag Create(string name) { TkDebug.AssertArgumentNullOrEmpty(name, "name", null); CorpTag data = new CorpTag { Name = name }; string url = WeCorpUtil.GetCorpUrl(WeCorpConst.CREATE_TAG, WeixinSettings.Current.CorpUserManagerSecret); return WeUtil.PostToUri(url, data.WriteJson(WeConst.WRITE_SETTINGS), data); }