From bdfabf5a34092c02b5445ad50a0daafcbaa49721 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期三, 30 九月 2020 09:56:45 +0800
Subject: [PATCH] 应用中心商城应用激活

---
 src/api/app.ts |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/api/app.ts b/src/api/app.ts
index 06b3328..750a2ae 100644
--- a/src/api/app.ts
+++ b/src/api/app.ts
@@ -9,7 +9,7 @@
   });
 };
 
-//鑾峰彇搴旂敤涓績鍟嗗煄寰呮縺娲诲垪琛�
+//鑾峰彇搴旂敤涓績鍟嗗煄寰呮縺娲荤畻娉曞垪琛�
 export const getUnActivedSdk = () => {
   return request({
     url: "/data/api-v/sdk/buyList",
@@ -25,7 +25,7 @@
   })
 }
 
-//鑾峰彇鍟嗗煄鎵�鏈夊簲鐢�
+//鑾峰彇鍟嗗煄鎵�鏈夊簲鐢�(宸叉縺娲�)
 export const findAllApp = () => request({
   url: '/data/api-v/app/findAllApp',
   method: 'get'
@@ -42,4 +42,14 @@
   url: '/data/api-v/app/unInstall',
   method: 'post',
   data
-})
\ No newline at end of file
+});
+//鑾峰彇鍟嗗煄寰呮縺娲荤殑搴旂敤
+export const getUnActivedApp = ()=> request({
+  url:'/data/api-v/app/buyList',
+  method: 'get'
+});
+//婵�娲诲晢鍩庡簲鐢�
+export const actApp = (appId:String,code:String) => request({
+  url:`/data/api-v/app/active?appId=${appId}&code=${code}`,
+  method:'get'
+});

--
Gitblit v1.8.0