修复消息页面头像显示不正常/无法点进聊天页的问题
This commit is contained in:
parent
d9d5cf7046
commit
4298ff2dae
@ -2,6 +2,7 @@ package com.yunbao.common.manager;
|
|||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
import android.util.Log;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.alibaba.fastjson.JSONArray;
|
import com.alibaba.fastjson.JSONArray;
|
||||||
@ -39,6 +40,7 @@ public class InstructorRemarkManager extends BaseCacheManager {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public Map<String, String> getInstructorRemark() {
|
public Map<String, String> getInstructorRemark() {
|
||||||
|
try {
|
||||||
if (null == instructorRemarkMap) {
|
if (null == instructorRemarkMap) {
|
||||||
String string = getString(KEY_INSTRUCTOR_REMARK);
|
String string = getString(KEY_INSTRUCTOR_REMARK);
|
||||||
if (!StringUtil.isEmpty(string)) {
|
if (!StringUtil.isEmpty(string)) {
|
||||||
@ -47,6 +49,10 @@ public class InstructorRemarkManager extends BaseCacheManager {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}catch (Exception e){
|
||||||
|
Log.i("remark", "getInstructorRemark: "+getString(KEY_INSTRUCTOR_REMARK));
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
if (instructorRemarkMap == null) {
|
if (instructorRemarkMap == null) {
|
||||||
instructorRemarkMap = new HashMap<>();
|
instructorRemarkMap = new HashMap<>();
|
||||||
}
|
}
|
||||||
|
@ -251,7 +251,9 @@ public class LogUtil {
|
|||||||
body.put("appVersion", CommonAppConfig.getInstance().getVersion());
|
body.put("appVersion", CommonAppConfig.getInstance().getVersion());
|
||||||
|
|
||||||
OkHttpClient client = new OkHttpClient.Builder().connectTimeout(3, TimeUnit.SECONDS).build();
|
OkHttpClient client = new OkHttpClient.Builder().connectTimeout(3, TimeUnit.SECONDS).build();
|
||||||
Request request = new Request.Builder().url("https://newht.yaoulive.com/index.php/api/error_log/report") //无法接受文件
|
Request request = new Request.Builder()
|
||||||
|
.url("https://tools.yutou233.cn/public/file/request.do")//临时上报地址,可接受文件
|
||||||
|
//.url("https://newht.yaoulive.com/index.php/api/error_log/report") //无法接受文件
|
||||||
.post(requestBody).build();
|
.post(requestBody).build();
|
||||||
client.newCall(request).enqueue(new Callback() {
|
client.newCall(request).enqueue(new Callback() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -4,8 +4,8 @@ ext {
|
|||||||
buildToolsVersion: "29.0.2",
|
buildToolsVersion: "29.0.2",
|
||||||
minSdkVersion : 23,
|
minSdkVersion : 23,
|
||||||
targetSdkVersion : 33,
|
targetSdkVersion : 33,
|
||||||
versionCode : 516,
|
versionCode : 523,
|
||||||
versionName : "6.6.6",
|
versionName : "6.6.7",
|
||||||
namespace : "com.pandoralive.shayu"
|
namespace : "com.pandoralive.shayu"
|
||||||
]
|
]
|
||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
|
Loading…
Reference in New Issue
Block a user