first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
import Vant from 'vant';
import 'vant/lib/index.css';
import Swiper from "@/components/Swiper";
import ShopItem from "@/components/ShopItem";
// import http from "@/service";
// import utils from "@/utils";
export default {
devBaseUrl: 'http://127.0.0.1:9090', // 开发阶段
testBaseUrl: '', // 测试阶段
prodBaseUrl: '', // 正式阶段
apiList: {
home: '/home/index',
info: '/home/info',
login: '/user/login',
add: '/user/add',
activity: '/home/activity',
CarList: '/car/getCarList',
addCar: '/car/addCar',
checkCar: '/car/checkCar',
updateCarNum: '/car/updateCarNum',
deleteCar: '/car/deleteCar',
submitCar: '/car/submitCar',
buyOrder: '/order/buyOrder',
allOrder: '/order/allOrder',
search: '/home/search',
list:'/type/list',
like: '/user/like',
likeList: '/user/likeList',
},
VuePlugins: [Vant],
VueComponents: [ Swiper, ShopItem ],
// NotVuePlugins: [
// {n: '$http', v: http},
// {n: '$utils', v: utils},
// ],
CheckBaseUrl: function () {
switch (process.env.NODE_ENV) {
case "development":
return this.devBaseUrl;
break;
case "test":
return this.testBaseUrl;
break;
case "production":
return this.prodBaseUrl;
break;
default:
break;
}
},
rsa_public_key: `-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9eo8WIbWS5Yql06imlhrW0ZXh
faivPavdULvYLIxIKyUaOwMPFrPuHqqBNGnYOpiPHAKL+zxk2j4u+6jhB6VK1SOD
ccSLxIRxd0HmSDS+hBzYRf4vKc8BLlhMrYhnLmcxCc+PJIIa4DfCZnu8FfQlu/5L
ljjpYN9kHOpHAT+xpQIDAQAB
-----END PUBLIC KEY-----`
}