cnit
V2EX  ›  问与答

Java 中权限注解如何控制颗粒度?

  •  
  •   cnit · Dec 6, 2022 · 1662 views
    This topic created in 1259 days ago, the information mentioned may be changed or developed.
    方法 caller1 上面标记了一个权限注解 @DataScope , caller1 内部有公共方法 method1,method2 ... 等等不需要这个 @DataScope

    方法 caller2 上面标记了一个权限注解 @DataScope , caller2 内部有同一份公共方法 method1,method2 ... 需要这个 @DataScope

    这里该如何设计呢
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1960 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:13 · PVG 00:13 · LAX 09:13 · JFK 12:13
    ♥ Do have faith in what you're doing.