莫名其妙的东西又增加了11
This commit is contained in:
@@ -66,7 +66,7 @@ public class Api extends BaseApi {
|
|||||||
String text = message;
|
String text = message;
|
||||||
LogUtils.i("OKHttp111111-----", text);
|
LogUtils.i("OKHttp111111-----", text);
|
||||||
});
|
});
|
||||||
interceptor.setLevel(HttpLoggingInterceptor.Level.NONE);
|
interceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
|
||||||
builder.addInterceptor(interceptor);
|
builder.addInterceptor(interceptor);
|
||||||
}
|
}
|
||||||
return builder.build();
|
return builder.build();
|
||||||
|
|||||||
@@ -153,7 +153,10 @@ public class ShenQingActivity extends BaseActivity<MainViewModel, ActivityShenqi
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(int code, String msg) {
|
public void onError(int code, String msg) {
|
||||||
ToastUtils.showShort(dataBinding.loginBt, msg);
|
// ToastUtils.showShort(dataBinding.loginBt, msg);
|
||||||
|
InitApp.setUserToken("");
|
||||||
|
startActivity(new Intent(ShenQingActivity.this, LoginActivity.class));
|
||||||
|
finish();
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
@@ -1266,7 +1269,7 @@ public class ShenQingActivity extends BaseActivity<MainViewModel, ActivityShenqi
|
|||||||
int actual_image_column_index = actualimagecursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
|
int actual_image_column_index = actualimagecursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
|
||||||
actualimagecursor.moveToFirst();
|
actualimagecursor.moveToFirst();
|
||||||
String img_path = actualimagecursor.getString(actual_image_column_index);
|
String img_path = actualimagecursor.getString(actual_image_column_index);
|
||||||
LogUtils.i("图片地址1:" + img_path);
|
// LogUtils.i("图片地址1:" + img_path);
|
||||||
return img_path;
|
return img_path;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
android:layout_width="@dimen/dp120"
|
android:layout_width="@dimen/dp120"
|
||||||
android:layout_height="@dimen/dp120"
|
android:layout_height="@dimen/dp120"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:layout_marginTop="74dp"
|
android:layout_marginTop="54dp"
|
||||||
android:src="@mipmap/logo_1" />
|
android:src="@mipmap/logo_1" />
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
|
|||||||
@@ -35,10 +35,10 @@
|
|||||||
android:layout_width="@dimen/dp40"
|
android:layout_width="@dimen/dp40"
|
||||||
android:layout_height="@dimen/dp40"
|
android:layout_height="@dimen/dp40"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:scaleType="centerInside"
|
|
||||||
android:tint="@color/colorPrimary"
|
|
||||||
android:background="@drawable/bg_ripple"
|
android:background="@drawable/bg_ripple"
|
||||||
android:src="@mipmap/ic_black_back" />
|
android:scaleType="centerInside"
|
||||||
|
android:src="@mipmap/ic_black_back"
|
||||||
|
android:tint="@color/colorPrimary" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:id="@+id/title_tv"
|
android:id="@+id/title_tv"
|
||||||
@@ -199,8 +199,8 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="@dimen/dp35"
|
android:layout_width="@dimen/dp35"
|
||||||
android:layout_height="@dimen/dp35"
|
android:layout_height="@dimen/dp35"
|
||||||
android:src="@mipmap/add_img"
|
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
|
android:src="@mipmap/add_img"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/fanmian_iv"
|
app:layout_constraintBottom_toBottomOf="@id/fanmian_iv"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
|
|||||||
Reference in New Issue
Block a user