Function verifyExecuteAPIProfile

  • Returns boolean

    Boolean

    Example


    import * as sys from 'sys';

    let flg = sys.verifyExecuteAPIProfile();
    if (flg){ // 如果为真,表示用户有请求自定义接口的业务权限,默认传上下文的method和URL,如 POST /service/.../test
    ...
    }