From 41acb0062e5365218243369958e3379192781470 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Sat, 19 Oct 2024 14:57:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.js | 72 ++++++++++++++++++++++++++++++++++++++++- manifest.json | 2 +- pages_order/work/userDetail.vue | 36 ++++++++++++++++++--- 3 files changed, 104 insertions(+), 6 deletions(-) diff --git a/api/api.js b/api/api.js index 0e926f4..9456982 100644 --- a/api/api.js +++ b/api/api.js @@ -51,7 +51,67 @@ const config = { * 公共的接口 */ - + //关于本程序 + commonAboutUs: { + url: '/api/common/aboutUs', + method: 'GET', + }, + //个人记工-新建账本 + commonAddBill: { + url: '/api/common/addBill', + method: 'POST', + auth: true, + limit : 500, + showLoading : true, + }, + //班组记工-新建账本 + commonAddBills: { + url: '/api/common/addBills', + method: 'POST', + auth: true, + limit : 500, + showLoading : true, + }, + // 我的服务-兑换码 + commonAddExchange: { + url: '/api/common/addExchange', + method: 'POST', + auth: true, + limit : 500, + showLoading : true, + }, + // 个人记工-技工问题 + commonAddQuestion: { + url: '/api/common/addQuestion', + method: 'POST', + auth: true, + limit : 500, + showLoading : true, + }, + // 班组记工-技工问题 + commonAddQuestions: { + url: '/api/common/addQuestions', + method: 'POST', + auth: true, + limit : 500, + showLoading : true, + }, + // 我的服务-会员充值(开通VIP) + commonAddRecharge: { + url: '/api/common/addRecharge', + method: 'POST', + auth: true, + limit : 500, + showLoading : true, + }, + // 我的服务-获取积分-充值积分 + commonAddScoreByRecharge: { + url: '/api/common/addScoreByRecharge', + method: 'POST', + auth: true, + limit : 500, + showLoading : true, + }, //获取工种列表 commonQueryJobTypeList: { url: '/api/common/queryJobTypeList', @@ -67,6 +127,16 @@ const config = { url: '/api/common/queryAddressList', method: 'GET', }, + //个人记工-全年收支 + commonQueryBill: { + url: '/api/common/queryBill', + method: 'GET', + }, + //班组记工-全年收支 + commonQueryBills: { + url: '/api/common/queryBills', + method: 'GET', + }, /** diff --git a/manifest.json b/manifest.json index ea42a21..7f8b1a9 100644 --- a/manifest.json +++ b/manifest.json @@ -52,7 +52,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxe7ae8cbe1673834c", + "appid" : "wxad5b3d20a75974c0", "setting" : { "urlCheck" : false }, diff --git a/pages_order/work/userDetail.vue b/pages_order/work/userDetail.vue index 958f0c3..e589e61 100644 --- a/pages_order/work/userDetail.vue +++ b/pages_order/work/userDetail.vue @@ -1,6 +1,6 @@