[ServiceBundle("api/{Service}/{Method}")] //[ServiceBundle("api/{Service}")] //[ServiceBundle("api/{Service}/{Method}/test")] //[ServiceBundle("api/{Service}/{Method}/test",false)] public interface IUserService: IServiceKey { [Authorization(AuthType = AuthorizationType.JWT)] Task<int> GetUserId(string userName); }
基于surging 的stage组件设计,谈谈我眼中的微服务。 (3)
内容版权声明:除非注明,否则皆为本站原创文章。