[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] public class PublicData : IPublicData
接口继承类加上大括号里面的