AbsMsgObj.cs 293 B

12345678910111213141516
  1. using Newtonsoft.Json;
  2. namespace HttpApi
  3. {
  4. public abstract class AbsMsgObj : AbsSessionObj
  5. {
  6. [JsonProperty] protected string api => GetApi();
  7. protected AbsMsgObj(string session) : base(session)
  8. {
  9. }
  10. protected abstract string GetApi();
  11. }
  12. }