Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

android / dayu

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 0e171492 authored a year ago by wukun's avatar wukun
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

1226

parent 0a7085fa dev_xx_web … dev dev_xx dev_xx_241116 dev_xx_250108_toast dev_xx_250224_report dev_xx_250414_sop
Show whitespace changes
Inline Side-by-side
Showing with 21 additions and 6 deletions
  • learnCenter/src/main/java/com/dayu/learncenter/adapter/LearnAdapter.java
  • userCenter/src/main/java/com/dayu/usercenter/api/UserService2.java
  • userCenter/src/main/java/com/dayu/usercenter/model/bean/ServiceSaveBeanNew.java
  • userCenter/src/main/java/com/dayu/usercenter/ui/fragment/HomeUserFragment.java
learnCenter/src/main/java/com/dayu/learncenter/adapter/LearnAdapter.java
View file @ 0e171492
...@@ -47,7 +47,7 @@ public class LearnAdapter extends CoreAdapter<CommonLearnBean, ItemCommonLearnBi ...@@ -47,7 +47,7 @@ public class LearnAdapter extends CoreAdapter<CommonLearnBean, ItemCommonLearnBi
public void onClick(View v) { public void onClick(View v) {
mPresenter.checkPayClick(item); mPresenter.checkPayClick(item);
mHolder = holder; mHolder = holder;
holder.rlClick.setVisibility(View.GONE); // holder.rlClick.setVisibility(View.GONE);
} }
}); });
if (type == 2) { if (type == 2) {
...@@ -99,6 +99,6 @@ public class LearnAdapter extends CoreAdapter<CommonLearnBean, ItemCommonLearnBi ...@@ -99,6 +99,6 @@ public class LearnAdapter extends CoreAdapter<CommonLearnBean, ItemCommonLearnBi
public void startVideo() { public void startVideo() {
mHolder.jzVideo.startVideo(); mHolder.jzVideo.startVideo();
mHolder.rlClick.setVisibility(View.GONE);
} }
} }
This diff is collapsed. Click to expand it.
userCenter/src/main/java/com/dayu/usercenter/api/UserService2.java
View file @ 0e171492
...@@ -23,6 +23,7 @@ import com.dayu.usercenter.model.bean.SelfLicenceBean; ...@@ -23,6 +23,7 @@ import com.dayu.usercenter.model.bean.SelfLicenceBean;
import com.dayu.usercenter.model.bean.ServiceBean; import com.dayu.usercenter.model.bean.ServiceBean;
import com.dayu.usercenter.model.bean.ServiceSaveBean; import com.dayu.usercenter.model.bean.ServiceSaveBean;
import com.dayu.usercenter.model.bean.ServiceSaveBean1; import com.dayu.usercenter.model.bean.ServiceSaveBean1;
import com.dayu.usercenter.model.bean.ServiceSaveBeanNew;
import com.dayu.usercenter.model.bean.ServiceTypeBean; import com.dayu.usercenter.model.bean.ServiceTypeBean;
import com.dayu.usercenter.model.bean.StarRatioBean; import com.dayu.usercenter.model.bean.StarRatioBean;
import com.dayu.usercenter.model.bean.TeamInfo; import com.dayu.usercenter.model.bean.TeamInfo;
...@@ -163,7 +164,11 @@ public interface UserService2 { ...@@ -163,7 +164,11 @@ public interface UserService2 {
@POST(Constants.API_7100 + "/engineerRelationCategory/labelAndPrice/batch/accountId/{accountId}") @POST(Constants.API_7100 + "/engineerRelationCategory/labelAndPrice/batch/accountId/{accountId}")
Observable<BaseResponse<Boolean>> saveServiceTypeNew(@Body ServiceSaveBean saveBean, @Path("accountId") int accountId); Observable<BaseResponse<Boolean>> saveServiceTypeNew(@Body ServiceSaveBean saveBean, @Path("accountId") int accountId);
/**
* 批量保存产品类型(新)
*/
@POST(Constants.API_7100 + "/engineerRelationCategory/labelAndPrice/batch/accountId/{accountId}")
Observable<BaseResponse<Boolean>> saveServiceTypeNew2(@Body ServiceSaveBeanNew saveBean, @Path("accountId") int accountId);
/** /**
* 全部认证资质 * 全部认证资质
* *
......
This diff is collapsed. Click to expand it.
userCenter/src/main/java/com/dayu/usercenter/model/bean/ServiceSaveBeanNew.java 0 → 100644
View file @ 0e171492
package com.dayu.usercenter.model.bean;
public class ServiceSaveBeanNew {
private String lowestPriceDay;
public ServiceSaveBeanNew(String lowestPriceDay){
this.lowestPriceDay = lowestPriceDay;
}
}
This diff is collapsed. Click to expand it.
userCenter/src/main/java/com/dayu/usercenter/ui/fragment/HomeUserFragment.java
View file @ 0e171492
...@@ -38,7 +38,7 @@ import com.dayu.usercenter.event.RefreshUserInfoEvent; ...@@ -38,7 +38,7 @@ import com.dayu.usercenter.event.RefreshUserInfoEvent;
import com.dayu.usercenter.event.RefreshUserPriceEvent; import com.dayu.usercenter.event.RefreshUserPriceEvent;
import com.dayu.usercenter.event.RefreshUserRecordEvent; import com.dayu.usercenter.event.RefreshUserRecordEvent;
import com.dayu.usercenter.model.AddUserCardData; import com.dayu.usercenter.model.AddUserCardData;
import com.dayu.usercenter.model.bean.ServiceSaveBean; import com.dayu.usercenter.model.bean.ServiceSaveBeanNew;
import com.dayu.usercenter.model.bean.UserBankInfoBean; import com.dayu.usercenter.model.bean.UserBankInfoBean;
import com.dayu.usercenter.model.bean.UserIncomeBean; import com.dayu.usercenter.model.bean.UserIncomeBean;
import com.dayu.usercenter.presenter.homeuser.HomeUserContract; import com.dayu.usercenter.presenter.homeuser.HomeUserContract;
...@@ -163,8 +163,8 @@ public class HomeUserFragment extends BaseFragment<HomeUserPresenter, FragmentHo ...@@ -163,8 +163,8 @@ public class HomeUserFragment extends BaseFragment<HomeUserPresenter, FragmentHo
mBind.dayPrice.setSelection(position); mBind.dayPrice.setSelection(position);
String dayPrice = values.get(position); String dayPrice = values.get(position);
ServiceSaveBean serviceSaveBean = new ServiceSaveBean(dayPrice); ServiceSaveBeanNew serviceSaveBean = new ServiceSaveBeanNew(dayPrice);
Api.getService(UserService2.class).saveServiceTypeNew(serviceSaveBean, mUserId).compose(Api.applySchedulers()) Api.getService(UserService2.class).saveServiceTypeNew2(serviceSaveBean, mUserId).compose(Api.applySchedulers())
.subscribe(mPresenter.baseObserver(bool -> { .subscribe(mPresenter.baseObserver(bool -> {
})); }));
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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 sign in to comment