修改充电站推送任务增加桩编辑点位时的bug
This commit is contained in:
parent
1dd9c6a5a6
commit
6ba575d0cf
@ -3,7 +3,7 @@ apply plugin: 'com.android.application'
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
buildToolsVersion '29.0.2'
|
||||
ndkVersion '23.0.7123448'
|
||||
//ndkVersion '23.0.7123448'
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.navinfo.outdoor"
|
||||
|
@ -77,7 +77,6 @@ public class ForgetPawFragment extends BaseFragment implements View.OnClickListe
|
||||
registerNote();
|
||||
initGetNote();
|
||||
}
|
||||
|
||||
break;
|
||||
case R.id.btn_forgetPaw:
|
||||
initForgetPaw();
|
||||
@ -140,6 +139,7 @@ public class ForgetPawFragment extends BaseFragment implements View.OnClickListe
|
||||
public void onSuccess(UserBean response, int id) {
|
||||
dismissLoadingDialog();
|
||||
if (response.getCode()==200){
|
||||
Toast.makeText(getActivity(), "修改成功", Toast.LENGTH_SHORT).show();
|
||||
Constant.USER_NAME = mobile;
|
||||
Constant.PASS_WORD = password;
|
||||
Message obtain = Message.obtain();
|
||||
@ -147,6 +147,7 @@ public class ForgetPawFragment extends BaseFragment implements View.OnClickListe
|
||||
obtain.obj = true;
|
||||
EventBus.getDefault().post(obtain);
|
||||
getActivity().finish();
|
||||
|
||||
}else {
|
||||
Toast.makeText(getActivity(), response.getMessage(), Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
@ -196,7 +197,6 @@ public class ForgetPawFragment extends BaseFragment implements View.OnClickListe
|
||||
.Builder(getActivity())
|
||||
.url(HttpInterface.USER_MESSAGE)
|
||||
.cls(MessageCodeBean.class)
|
||||
.token(Constant.ACCESS_TOKEN)
|
||||
.params(httpParams)
|
||||
.getRequest(new Callback<MessageCodeBean>() {
|
||||
@Override
|
||||
@ -204,6 +204,8 @@ public class ForgetPawFragment extends BaseFragment implements View.OnClickListe
|
||||
dismissLoadingDialog();
|
||||
if (response.getCode() == 200) {
|
||||
sessionId = response.getBody();
|
||||
|
||||
Toast.makeText(getActivity(), "验证码已发送", Toast.LENGTH_SHORT).show();
|
||||
}else {
|
||||
Toast.makeText(getActivity(), response.getMessage() + "", Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
@ -124,6 +124,7 @@ public class RegisterFragment extends BaseFragment implements View.OnClickListen
|
||||
dismissLoadingDialog();
|
||||
if (response.getCode() == 200) {
|
||||
sessionId = response.getBody();
|
||||
|
||||
Toast.makeText(getActivity(), "验证码已发送", Toast.LENGTH_SHORT).show();
|
||||
}else {
|
||||
Toast.makeText(getActivity(), response.getMessage()+"", Toast.LENGTH_SHORT).show();
|
||||
@ -196,6 +197,7 @@ public class RegisterFragment extends BaseFragment implements View.OnClickListen
|
||||
public void onSuccess(UserBean response, int id) {
|
||||
dismissLoadingDialog();
|
||||
if (response.getCode() == 200) {
|
||||
Toast.makeText(getActivity(), "注册成功", Toast.LENGTH_SHORT).show();
|
||||
Constant.USER_NAME = mobile;
|
||||
Constant.PASS_WORD = password;
|
||||
Message obtain = Message.obtain();
|
||||
@ -203,6 +205,7 @@ public class RegisterFragment extends BaseFragment implements View.OnClickListen
|
||||
obtain.obj = true;
|
||||
EventBus.getDefault().post(obtain);
|
||||
getActivity().finish();
|
||||
|
||||
}else {
|
||||
Toast.makeText(getActivity(), response.getMessage() + "", Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
@ -176,7 +176,7 @@ public class WithdrawFragment extends BaseFragment implements View.OnClickListen
|
||||
String price = etAllPrice.getText().toString().trim();
|
||||
if (price!=null&&!price.equals("")){
|
||||
double aDouble = Double.valueOf(price);
|
||||
if (aDouble<10){
|
||||
if (aDouble<10 ){
|
||||
Toast.makeText(getActivity(), "提现金额不能低于10元", Toast.LENGTH_SHORT).show();
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user