diff --git a/api/api.js b/api/api.js
index 26432320..d1fdc19a 100644
--- a/api/api.js
+++ b/api/api.js
@@ -47,32 +47,6 @@ export function getCoupons(data){
return request.get('coupons',data,{noAuth:true})
}
-/**
- * 我的优惠券
- * @param int types 0全部 1未使用 2已使用
-*/
-export function getUserCoupons(data){
- return request.get('coupon/list',data)
-}
-
-/**
- * 文章列表
- * @param int cid
- *
-*/
-export function getArticleList(cid,data){
- return request.get('article/list/' + cid, data,{noAuth:true})
-}
-
-/**
- * 文章详情
- * @param int id
- *
-*/
-export function getArticleDetails(id){
- return request.get('article/info',id,{noAuth:true});
-}
-
/**
* 手机号+验证码登录接口
* @param object data
diff --git a/api/promotion/article.js b/api/promotion/article.js
index fb43d44b..85d89193 100644
--- a/api/promotion/article.js
+++ b/api/promotion/article.js
@@ -20,3 +20,12 @@ export function getArticlePage(data) {
noAuth: true // TODO 芋艿:后续要做调整
});
}
+
+// 获得文章
+export function getArticle(id) {
+ return request.get("app-api/promotion/article/get", {
+ id
+ }, {
+ noAuth: true // TODO 芋艿:后续要做调整
+ });
+}
diff --git a/components/shareInfo/index.vue b/components/shareInfo/index.vue
index 646f1324..24fa817e 100644
--- a/components/shareInfo/index.vue
+++ b/components/shareInfo/index.vue
@@ -1,19 +1,17 @@
-
+
-
-