Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
android
/
dayu
This project
Loading...
Sign in
Toggle navigation
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
Dec 26, 2023
by
wukun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1226
parent
0a7085fa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
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
);
}
}
}
}
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
);
/**
/**
* 全部认证资质
* 全部认证资质
*
*
...
...
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
;
}
}
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.ServiceSaveBean
New
;
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
);
ServiceSaveBean
New
serviceSaveBean
=
new
ServiceSaveBeanNew
(
dayPrice
);
Api
.
getService
(
UserService2
.
class
).
saveServiceTypeNew
(
serviceSaveBean
,
mUserId
).
compose
(
Api
.
applySchedulers
())
Api
.
getService
(
UserService2
.
class
).
saveServiceTypeNew
2
(
serviceSaveBean
,
mUserId
).
compose
(
Api
.
applySchedulers
())
.
subscribe
(
mPresenter
.
baseObserver
(
bool
->
{
.
subscribe
(
mPresenter
.
baseObserver
(
bool
->
{
}));
}));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment