正式服
parent
07e2920c08
commit
d4b583482b
|
|
@ -1412,7 +1412,7 @@
|
||||||
createApp({
|
createApp({
|
||||||
setup() {
|
setup() {
|
||||||
// 基础URL配置
|
// 基础URL配置
|
||||||
const BASE_URL = 'http://backend.jjdev.cn/';
|
const BASE_URL = 'https://backend.jjsos.cn/';
|
||||||
|
|
||||||
const searchParams = reactive({
|
const searchParams = reactive({
|
||||||
province: '',
|
province: '',
|
||||||
|
|
@ -1622,7 +1622,7 @@
|
||||||
|
|
||||||
const fetchFollowUpCount = async (driverTotal) => {
|
const fetchFollowUpCount = async (driverTotal) => {
|
||||||
try {
|
try {
|
||||||
const res = await axios.get('https://test-chat.jjsos.cn/src/getChatDriverCount.php');
|
const res = await axios.get('https://sos-chat.jjsos.cn/src/getChatDriverCount.php');
|
||||||
let count = null;
|
let count = null;
|
||||||
if (Array.isArray(res.data) && res.data.length > 0 && res.data[0].driver_count !== undefined) {
|
if (Array.isArray(res.data) && res.data.length > 0 && res.data[0].driver_count !== undefined) {
|
||||||
count = Number(res.data[0].driver_count);
|
count = Number(res.data[0].driver_count);
|
||||||
|
|
@ -1644,7 +1644,7 @@
|
||||||
|
|
||||||
const fetchOnlineChatData = async () => {
|
const fetchOnlineChatData = async () => {
|
||||||
try {
|
try {
|
||||||
const res = await axios.get('https://test-chat.jjsos.cn/src/getUnChatCount.php');
|
const res = await axios.get('https://sos-chat.jjsos.cn/src/getUnChatCount.php');
|
||||||
|
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
const onlineTask = taskList.value.find(task => task.type === 'online');
|
const onlineTask = taskList.value.find(task => task.type === 'online');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue