|
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|
// 获取不限制的小程序码
|
|
// 获取不限制的小程序码
|
|
export function getUnlimitedQRCode(data = {}) {
|
|
export function getUnlimitedQRCode(data = {}) {
|
|
// 从本地存储获取用户类型和用户ID
|
|
// 从本地存储获取用户类型和用户ID
|
|
- const userType = uni.getStorageSync('userType') || '';
|
|
|
|
|
|
+ const userType = uni.getStorageSync('userType') || 1;
|
|
const userId = uni.getStorageSync('userId') || '';
|
|
const userId = uni.getStorageSync('userId') || '';
|
|
|
|
|
|
// 打印日志,便于调试
|
|
// 打印日志,便于调试
|