From c3c27262a6e722d2a6153ff3de6d2f870adc1d45 Mon Sep 17 00:00:00 2001
From: yfx <1249361928@.com>
Date: Tue, 17 Mar 2026 14:20:10 +0800
Subject: [PATCH] 传接口参数
---
pages/quanshou/index.vue | 12 ++++++++++++
pages/quanyi/index.vue | 4 ++++
pages/my/my.vue | 9 +++++++++
3 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 86c5357..f357ffe 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -150,8 +150,13 @@
if(_this.$util.getUserInfo()?.phone){
await uni.request({
url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone,
+ data:{
+ customerId: uni.getStorageSync('qxgLogin').customerId,
+ appId: uni.getStorageSync('qxgLogin').appId
+ },
success: function (res) {
_this.isShop = res?.data?.data?.isShop;
+ uni.setStorageSync('qxgLogin', res.data.data)
}
})
}
@@ -164,6 +169,10 @@
}
uni.request({
url: _this.$webHost+'/api/v2/customer/ryxIsBuyEquity?phone='+_this.$util.getUserInfo().phone,
+ data:{
+ customerId: uni.getStorageSync('qxgLogin').customerId,
+ appId: uni.getStorageSync('qxgLogin').appId
+ },
success: function (res) {
if(res.data.code==200){
uni.navigateTo( {
diff --git a/pages/quanshou/index.vue b/pages/quanshou/index.vue
index 9c9570a..f1d2c75 100644
--- a/pages/quanshou/index.vue
+++ b/pages/quanshou/index.vue
@@ -60,6 +60,10 @@
const _this = this;
uni.request({
url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone,
+ data:{
+ customerId: uni.getStorageSync('qxgLogin').customerId,
+ appId: uni.getStorageSync('qxgLogin').appId
+ },
success: function (res) {
if(res.data.code==200){
_this.lst = res.data.data;
@@ -96,6 +100,10 @@
const _this = this;
uni.request({
url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+_this.$util.getUserInfo().phone,
+ data:{
+ customerId: uni.getStorageSync('qxgLogin').customerId,
+ appId: uni.getStorageSync('qxgLogin').appId
+ },
success: function (res) {
if(res.data.code==200){
uni.request( {
@@ -119,6 +127,10 @@
const _this = this;
uni.request({
url: _this.$webHost+'/api/v2/shop/findExpressNo?phone='+_this.$util.getUserInfo().phone,
+ data:{
+ customerId: uni.getStorageSync('qxgLogin').customerId,
+ appId: uni.getStorageSync('qxgLogin').appId
+ },
success: function (res) {
if(res.data.code==200){
_this.tips = res.data.data;
diff --git a/pages/quanyi/index.vue b/pages/quanyi/index.vue
index 3472869..ddc5c26 100644
--- a/pages/quanyi/index.vue
+++ b/pages/quanyi/index.vue
@@ -7,6 +7,10 @@
const _this = this;
await uni.request({
url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone,
+ data:{
+ customerId: uni.getStorageSync('qxgLogin').customerId,
+ appId: uni.getStorageSync('qxgLogin').appId
+ },
success: function (res) {
_this.qxgLogin = res.data.data;
uni.setStorageSync('qxgLogin',_this.qxgLogin)
--
Gitblit v1.9.3