迁移仓库

This commit is contained in:
xuhuixiang
2026-02-24 09:59:59 +08:00
parent ad722304bf
commit 2a9510baf9
98 changed files with 2573 additions and 1790 deletions

View File

@@ -42,7 +42,7 @@ public class ChatKitUIConstant {
/**
* 订单详情
*/
public static String ORDERDETAILS_URL = ApiService.URL.equals("https://api.letschat2023.com/") ? "https://shop.letschat2023.com/#/pages/payother/order?" : "https://shop-test.yuliao666.top/#/pages/payother/order?";
public static String ORDERDETAILS_URL = ApiService.URL.equals("https://api.letschat2023.com/") ? "https://shop.letschat2023.com/#/pages/payother/order?" : "https://shop-test.niuchat.xyz/#/pages/payother/order?";
// 合并转发消息数量限制

View File

@@ -15,6 +15,8 @@ import static com.netease.yunxin.kit.corekit.im.utils.RouterConstant.PATH_CHAT_S
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.netease.nim.highavailable.LogUtils;
import com.netease.nimlib.sdk.msg.constant.SessionTypeEnum;
import com.netease.yunxin.kit.alog.ALog;
import com.netease.yunxin.kit.chatkit.ChatService;
@@ -188,7 +190,9 @@ public class ChatUIService extends ChatService {
@Override
public void onFailed(int code) {
if (observer != null) {
LogUtils.i("错误码","错误码111:"+code);
if (observer != null) {
observer.onResult(new ResultInfo<>(null, false, new ErrorMsg(code)));
}
ALog.e(

View File

@@ -467,7 +467,7 @@ public class RedPacketViewHolder extends ChatBaseMessageViewHolder {
}
public void setStatusView(TextView tvstatus, RedpacketBean1 data, ChatMessageBean message, RedpacketGroupBean redpacketGroupBean) {
tvstatus.setText("¥ "+getQian(data.getAmount()));
tvstatus.setText(" "+getQian(data.getAmount()));
// switch (data.getStatus()) {
// case "0":
//

View File

@@ -57,7 +57,12 @@ public interface ApiService {
/**
* 测试环境
*/
String URL = "http://8.217.182.79:8003/";
// String URL = "http://192.168.0.165:8003/";
// String URL = "https://api.niuchat.xyz/";
String URL = "https://api.niuchat.xyz/";
String SUBSTATIONID = "1703655363476242434";
// String SUBSTATIONID = "";

View File

@@ -915,6 +915,7 @@ public abstract class ChatBaseViewModel extends BaseViewModel {
map.put("sessionid", IMKitClient.account());
map.put("sessiontype", 1);
message.setPushPayload(map);
LogUtils.i("错误码","错误码数据是啥:"+GsonUtils.beanToJSONString(message));
ChatRepo.sendMessage(
message,
resend,
@@ -922,6 +923,7 @@ public abstract class ChatBaseViewModel extends BaseViewModel {
@Override
public void onFailed(int code) {
LogUtils.i("错误码","错误码:"+code);
if (code == RES_IN_BLACK_LIST) {
MessageHelper.saveLocalBlackTipMessageAndNotify(message);
}
@@ -933,6 +935,7 @@ public abstract class ChatBaseViewModel extends BaseViewModel {
@Override
public void onFailed(int i) {
LogUtils.i("错误码","错误码222:"+i);
}