Browse Source

添加根据算力调用ai接口判断

zq940222 2 tháng trước cách đây
mục cha
commit
75f54e2ac9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/jeecg/AiChat/components/chat.api.ts

+ 1 - 1
src/components/jeecg/AiChat/components/chat.api.ts

@@ -4,5 +4,5 @@ enum Api {
   checkQuota = '/ai/chat/checkQuota',
 }
 export function checkQuotaApi() {
-  return defHttp.get({ url: Api.checkQuota });
+  return defHttp.get({ url: Api.checkQuota }, { successMessageMode: 'none' });
 }