Commit 08ab60ab authored by yinjiacheng's avatar yinjiacheng

update 整理服务端接口

parent 061cbb60
......@@ -44,12 +44,6 @@ interface CommonService {
@QueryMap requestParams: Map<String, String?>
): Observable<HttpResult<Any?>>
@GET(URLs.getKSYunBucket)
fun getKSYunBucket(
@QueryMap commonParams: Map<String, String>,
@QueryMap requestParams: Map<String, String?>
): Observable<HttpResult<Any?>>
@Headers("Content-Type: application/json")
@POST(URLs.businessLicenseOCR)
fun businessLicenseOCR(
......
package com.yidian.shenghuoquan.newscontent.http.httpbean
/**
* author: yinjiacheng
* date: 5/23/21 12:13 PM
* description: 获取金山云Bucket
*/
class GetKSYunBucketBean {
data class Response(val bucket: String)
}
\ No newline at end of file
package com.yidian.shenghuoquan.newscontent.http.httpbean
/**
* author: yinjiacheng
* date: 5/23/21 12:18 PM
* description: 获取金山云Bucket
*/
interface IGetKSYunBucketCallback {
fun getKSYunBucketSuccess(result: GetKSYunBucketBean.Response?)
fun getKSYunBucketFailure(message: String?)
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment