new ResponseInterceptor(options)
service/ResponseInterceptor.js, line 3
响应拦截器对象
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
构造参数
|
Members
-
failureString
-
请求响应失败时会执行的函数
-
successString
-
请求响应成功时会执行的函数