From 242c6480eee9af34abd0bb20fbab2acbc322a945 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Sat, 10 May 2025 23:17:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4API=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E7=9A=84auth=E5=AD=97=E6=AE=B5=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E9=A1=B5=E9=9D=A2=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除`sharing.js`中API接口的`auth`字段,简化接口配置。同时调整`article.vue`页面的代码格式,提升代码可读性。 --- api/model/sharing.js | 4 - manifest.json | 2 +- pages_order/sharing/article.vue | 426 +++++++++++++++++++++------------------- 3 files changed, 221 insertions(+), 211 deletions(-) diff --git a/api/model/sharing.js b/api/model/sharing.js index a9aa827..8e51c42 100644 --- a/api/model/sharing.js +++ b/api/model/sharing.js @@ -104,7 +104,6 @@ const api = { checkShare: { url: '/fen/checkShare', method: 'POST', - auth: true, showLoading : true, }, /** @@ -113,7 +112,6 @@ const api = { checkVideoShare: { url: '/fen/checkVideoShare', method: 'POST', - auth: true, showLoading : true, }, /** @@ -122,7 +120,6 @@ const api = { checkGroupShare: { url: '/fen/checkGroupShare', method: 'POST', - auth: true, showLoading : true, }, /** @@ -131,7 +128,6 @@ const api = { checkArticleShare: { url: '/fen/checkArticleShare', method: 'POST', - auth: true, showLoading : true, }, } diff --git a/manifest.json b/manifest.json index cbdf96a..5e57a89 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "unapp模板", - "appid" : "__UNI__A010721", + "appid" : "__UNI__197A38F", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", diff --git a/pages_order/sharing/article.vue b/pages_order/sharing/article.vue index ce09d31..a1de2f8 100644 --- a/pages_order/sharing/article.vue +++ b/pages_order/sharing/article.vue @@ -1,237 +1,251 @@ \ No newline at end of file