请求方式:
- POST
请求参数:
- second int 默认缓存时间
响应数据:
- 返回成功数据参考:
- {“status”:{“code”:1,”created_at”:”2017-06-19 15:18:24”,”message”:”u64cdu4f5cu6210u529f”}}
- 返回失败数据参考:
- {“status”:{“code”:5,”created_at”:”2017-06-19 14:41:46”,”message”:”router mathod not match”}}
请求方式:
- POST
请求参数:
- model string 模式:file | url
- value string 文件类型 | url:支持增则表达式
- second int 缓存时间,单位(s)
- id string 空
- force int 强制本地:1 | 0
- ignoreparameters string 忽略参数:支持正则表达式
响应数据:
- 返回成功数据参考:
- {“status”:{“code”:1,”created_at”:”2017-06-20 11:50:05”,”message”:”u64cdu4f5cu6210u529f”},”id”:2}
- 返回失败数据参考:
- {“status”:{“code”:5,”created_at”:”2017-06-19 14:41:46”,”message”:”router mathod not match”}}
请求方式:
- PUT
请求参数:
- model string 模式:file | url
- value string 文件类型 | url:支持增则表达式
- second int 缓存时间,单位(s)
- id string 缓存规则id
- force int 强制本地:1 | 0
- ignoreparameters string 忽略参数:支持正则表达式
响应数据:
- 返回成功数据参考:
- {“status”:{“code”:1,”created_at”:”2017-06-20 11:50:23”,”message”:”u64cdu4f5cu6210u529f”},”id”:”2”}
- 返回失败数据参考:
- {“status”:{“code”:5,”created_at”:”2017-06-19 14:41:46”,”message”:”router mathod not match”}}
请求方式:
- DELETE
请求参数:
- id int 缓存规则id
响应数据:
- 返回成功数据参考:
- {“status”:{“code”:1,”created_at”:”2017-06-19 15:18:24”,”message”:”u64cdu4f5cu6210u529f”}}
- 返回失败数据参考:
- {“status”:{“code”:5,”created_at”:”2017-06-19 14:41:46”,”message”:”router mathod not match”}}
请求方式:
- POST
响应数据:
- 返回成功数据参考:
- {“status”:{“code”:1,”created_at”:”2017-06-19 15:18:24”,”message”:”u64cdu4f5cu6210u529f”}}
- 返回失败数据参考:
- {“status”:{“code”:5,”created_at”:”2017-06-19 14:41:46”,”message”:”router mathod not match”}}