Commit 0c96aa58 by sikang

接口更新 添加参数 ‘ 同盾采集集成标识‘’

parent 809a39e0
......@@ -49,7 +49,8 @@ public interface LoanApi {
* 贷款进度
*/
@GET("record/progress")
Observable<ProgressBean> getCertifyProgress(@Header("X-AUTH-TOKEN") String token);
Observable<ProgressBean> getCertifyProgress(@Header("X-AUTH-TOKEN") String token,
@Query("thirdpartyDataFlag") boolean thirdpartyDataFlag);
/**
* 获取商品列表
......
......@@ -66,6 +66,7 @@ public interface UploadApi {
@Part MultipartBody.Part delta,
@Query("imei") String imei,
@Query("productId") long productId,
@Query("thirdpartyDataFlag")Boolean thirdpartyDataFlag,
@Header("X-AUTH-TOKEN") String token);
......
......@@ -9,6 +9,7 @@ import com.google.gson.Gson;
import java.io.File;
import tech.starwin.LibConfig;
import tech.starwin.base.BasePresenter;
import tech.starwin.constants.TrackEvent;
import tech.starwin.impl.HttpObserver;
......@@ -92,6 +93,7 @@ public class UploadPresenter extends BasePresenter<UploadApi> {
MultipartBodyMaker.makeSimplePart("delta", faceData),
AppInfoUtils.getAndroidID(context),
productId,
TextUtils.isEmpty(LibConfig.TONGDUN_PARENT_KEY) ? false : true,
LoginManager.get().getToken()
),
new HttpObserver<BasicAck>() {
......
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