@@ -1,8 +1,12 @@
import Vue from 'vue'
import App from './App'
-//异步请求
+//接口请求方式一
import api from '@/common/api'
Vue.prototype.$api = api
+// 接口请求方式二 (url,method,data(请求参数),noToken, noLoading)
+import { myRequest } from '@/common/request.js'
+Vue.prototype.$http = myRequest
+
import store from './store'
Vue.prototype.$store = store
//提示框