diff --git a/README.md b/README.md
index bae3cf4..c095e87 100644
--- a/README.md
+++ b/README.md
@@ -249,4 +249,10 @@ feature
## v1.0.28
`2023.3.2`
update
-- 修改 最后一步按钮文案
\ No newline at end of file
+- 修改 最后一步按钮文案
+
+
+## v1.0.29
+`2023.3.13`
+feat
+- 增加 套餐列表从接口获取
\ No newline at end of file
diff --git a/src/api/core.js b/src/api/core.js
index bdaa645..47ca481 100644
--- a/src/api/core.js
+++ b/src/api/core.js
@@ -28,6 +28,7 @@ export const APICore = {
payLiveBaseDevice, //微信统一下单
GpsDeviceFence, //围栏 redis
cardPackageList, //零川基础套餐列表
+ devicePayPackage,
}
/* const headerAuth = this.$store.getters.gatewayToken; */
// 获取告警详情
@@ -85,4 +86,11 @@ function cardPackageList(data) {
data,
});
}
+function devicePayPackage(imei) {
+ return service({
+ url: `${baseUrl}/core/api/v1/open/card/GetDevicePayPackage`,
+ method: 'get',
+ params: {imei},
+ })
+}
export default APICore;
diff --git a/src/config/models.js b/src/config/models.js
index 7f11c07..0b3bf58 100644
--- a/src/config/models.js
+++ b/src/config/models.js
@@ -1,11 +1,11 @@
/*
* @Date: 2021-11-20 10:26:39
* @LastEditors: JinxChen
- * @LastEditTime: 2023-02-27 09:59:02
+ * @LastEditTime: 2023-03-13 09:35:07
* @FilePath: \TelpoH5FrontendWeb\src\config\models.js
* @description:
*/
-export const VERSION_MODEL = '1.0.28F'; //版本号
+export const VERSION_MODEL = '1.0.29F'; //版本号
export const IMAGE_URL = {
production: 'http://zfb.ssjlai.com/web/',
test: 'http://zfb.ssjlai.com/web/',
diff --git a/src/http/webapi.js b/src/http/webapi.js
index 7427682..b5f1927 100644
--- a/src/http/webapi.js
+++ b/src/http/webapi.js
@@ -1,7 +1,7 @@
/*
* @Author: linwl
* @Date: 2020-04-13 14:47:59
- * @LastEditTime: 2023-02-24 10:47:44
+ * @LastEditTime: 2023-03-13 16:35:17
* @LastEditors: JinxChen
* @Description: axios请求配置
* @FilePath: \TelpoH5FrontendWeb\src\http\webapi.js
@@ -41,7 +41,7 @@ service.interceptors.request.use(
/* if (localStorage.getItem('webapiToken')) {
} */
- request.headers.AuthToken = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJVc2VySW5mbyI6eyJVc2VySWQiOiJjZTQzOWU1Yy03NWVjLTRhMTEtYWJmMC02YTdhM2IzY2UwMGQiLCJMb2dpbk5hbWUiOiIxODI3NzQyNjcxMiIsIkxvZ2luVHlwZSI6MX0sIkV4cCI6MTY4NDg5NTk5ODg4NS4wfQ.VK_fNU0QrCJwsc_Dxa_lPP1dvnxo73TfKzV_bJquqxU';
+ request.headers.AuthToken = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJVc2VySW5mbyI6eyJVc2VySWQiOiJjZTQzOWU1Yy03NWVjLTRhMTEtYWJmMC02YTdhM2IzY2UwMGQiLCJMb2dpbk5hbWUiOiIxODI3NzQyNjcxMiIsIkxvZ2luVHlwZSI6MX0sIkV4cCI6MTY4NjY0NTI1MTQ4NC4wfQ.cm3AblDTivfbuJ-OgDAglWVsJFWiJZyrpt_BmNq499g';
return request;
},
errorHandler
diff --git a/src/views/package-list/index.vue b/src/views/package-list/index.vue
index f320dfa..ff3b268 100644
--- a/src/views/package-list/index.vue
+++ b/src/views/package-list/index.vue
@@ -1,7 +1,7 @@
@@ -18,7 +18,7 @@
-
+
@@ -38,7 +38,7 @@
-
{{item.packageName}}
+
{{item.packageName}}