Commit 303ff297 by 肖康

api修改

parent d9d6085b
Showing with 2 additions and 1 deletions
const os = require('os');
import { useRouter } from 'next/router'
export const QQURL='https://wpa.qq.com/msgrd?v=3&uin=1908059998&site=qq&menu=yes'
export const API_URL=os.hostname()=="MS-NDPSTQVAWPAX"?'http://erpweb.liexindev.net':'http://api.chiplinks.net'
export const API_URL=(os.hostname()=="MS-NDPSTQVAWPAX"||os.hostname()=="MS-dev235")?'http://erpweb.liexindev.net':'http://api.chiplinks.net'
console.log(os.hostname())
//export const API_URL='http://erpwebback.com'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment