//using System; //using System.Collections.Generic; //using System.Configuration; //using System.Linq; //using System.Text; //using System.Threading.Tasks; //namespace cuidian.Common //{ // public class OpenApiSection : ConfigurationSection // { // [ConfigurationProperty("AppKey", DefaultValue = "", IsRequired = true, IsKey = false)] // public string AppKey // { // get { return (string)this["AppKey"]; } // set { this["AppKey"] = value; } // } // [ConfigurationProperty("FromAccount", DefaultValue = "", IsRequired = true, IsKey = false)] // public string FromAccount // { // get { return (string)this["FromAccount"]; } // set { this["FromAccount"] = value; } // } // [ConfigurationProperty("ToAccount", DefaultValue = "", IsRequired = true, IsKey = false)] // public string ToAccount // { // get { return (string)this["ToAccount"]; } // set { this["ToAccount"] = value; } // } // [ConfigurationProperty("AppSecret", DefaultValue = "", IsRequired = true, IsKey = false)] // public string AppSecret // { // get { return (string)this["AppSecret"]; } // set { this["AppSecret"] = value; } // } // [ConfigurationProperty("BaseUrl", DefaultValue = "https://api.yonyouup.com", IsRequired = true, IsKey = false)] // public string BaseUrl // { // get { return (string)this["BaseUrl"]; } // set { this["BaseUrl"] = value; } // } // } //}