提交 d84ae8b5 authored 作者: 韦梓球's avatar 韦梓球

1、替换访问接口

上级 62296008
...@@ -20,14 +20,14 @@ import retrofit2.http.Query; ...@@ -20,14 +20,14 @@ import retrofit2.http.Query;
*/ */
public interface Api { public interface Api {
String BASE_URL="https://diaosaas.com/"; String BASE_URL="https://diaosaas.com/canteenHl";
/** /**
*人脸识别扫描 *人脸识别扫描
* *
*/ */
@Multipart @Multipart
@POST("canteenHl/api/face/scan") @POST("/api/face/scan")
Observable<Response<DataBean>> scan(@Part("deviceCode") RequestBody deviceCode,@Part MultipartBody.Part file); Observable<Response<DataBean>> scan(@Part("deviceCode") RequestBody deviceCode,@Part MultipartBody.Part file);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论