fix: api调用错误修改

This commit is contained in:
mayubo@gmail.com 2025-04-23 15:16:54 +08:00
parent cd063be8a4
commit 58a10c9dfd
15 changed files with 17 additions and 17 deletions

View File

@ -196,7 +196,7 @@
console.log('NavgateTo', id); console.log('NavgateTo', id);
console.log('totaltotaltotal', total); console.log('totaltotaltotal', total);
if (total === 0) { if (total === 0) {
wx.showToast({ uni.showToast({
title: '暂无可领取数量', title: '暂无可领取数量',
icon: 'none' icon: 'none'
}) })

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -19355,7 +19355,7 @@ var request = function request(url) {
silent = _options$silent === void 0 ? true : _options$silent, silent = _options$silent === void 0 ? true : _options$silent,
_options$nested = options.nested, _options$nested = options.nested,
nested = _options$nested === void 0 ? false : _options$nested; nested = _options$nested === void 0 ? false : _options$nested;
var ctoken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZWFsZXJfaWQiOjEsImV4cCI6MTc0NTI4MzU3MiwiaW1nIjoiIiwibXNob3BfaWQiOjksIm9wZW5faWQiOiJvV2MxODY3b2dYZ0RHektneWtkLUpTM0dVT2tFIiwicm9sZV9pZCI6MSwidXNlcl9pZCI6NjIsInVzZXJfbmFtZSI6IuW-ruS_oeeUqOaItyIsIndzaG9wX2lkIjo5fQ.D7SC8SG8F4bC4WNG83gXGSd8-C7sc7oq40FMyPeNBT8'; var ctoken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZWFsZXJfaWQiOjAsImV4cCI6MTc0NTM5MTg4MiwiaW1nIjoiIiwibXNob3BfaWQiOjAsIm9wZW5faWQiOiJvV2MxODZ5QUdUcUtFSTNJNFppMjhYeF8tOWdJIiwicm9sZV9pZCI6MSwidXNlcl9pZCI6NjMsInVzZXJfbmFtZSI6IuW-ruS_oeeUqOaItyIsIndzaG9wX2lkIjowfQ.vKKISmuPENkyGLe1xt8tmxJlKjSFrZgRhEyXB0y66M4';
// if (options.token) { // if (options.token) {
// ctoken = options.token; // ctoken = options.token;

View File

@ -199,7 +199,7 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(uni, wx) { /* WEBPACK VAR INJECTION */(function(uni) {
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4); var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
Object.defineProperty(exports, "__esModule", { Object.defineProperty(exports, "__esModule", {
@ -289,7 +289,7 @@ var _default = {
console.log('NavgateTo', id); console.log('NavgateTo', id);
console.log('totaltotaltotal', total); console.log('totaltotaltotal', total);
if (total === 0) { if (total === 0) {
wx.showToast({ uni.showToast({
title: '暂无可领取数量', title: '暂无可领取数量',
icon: 'none' icon: 'none'
}); });
@ -433,7 +433,7 @@ var _default = {
} }
}; };
exports.default = _default; exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"])) /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }), /***/ }),

View File

@ -37,7 +37,7 @@ export const NavgateTo = (path, options = {}) => {
export const request = (url, method = 'POST', data = {}, options = {}) => { export const request = (url, method = 'POST', data = {}, options = {}) => {
console.log('request 请求拓展参数 options', options); console.log('request 请求拓展参数 options', options);
const { silent = true, nested = false } = options; const { silent = true, nested = false } = options;
let ctoken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZWFsZXJfaWQiOjEsImV4cCI6MTc0NTI4MzU3MiwiaW1nIjoiIiwibXNob3BfaWQiOjksIm9wZW5faWQiOiJvV2MxODY3b2dYZ0RHektneWtkLUpTM0dVT2tFIiwicm9sZV9pZCI6MSwidXNlcl9pZCI6NjIsInVzZXJfbmFtZSI6IuW-ruS_oeeUqOaItyIsIndzaG9wX2lkIjo5fQ.D7SC8SG8F4bC4WNG83gXGSd8-C7sc7oq40FMyPeNBT8'; let ctoken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZWFsZXJfaWQiOjAsImV4cCI6MTc0NTM5MTg4MiwiaW1nIjoiIiwibXNob3BfaWQiOjAsIm9wZW5faWQiOiJvV2MxODZ5QUdUcUtFSTNJNFppMjhYeF8tOWdJIiwicm9sZV9pZCI6MSwidXNlcl9pZCI6NjMsInVzZXJfbmFtZSI6IuW-ruS_oeeUqOaItyIsIndzaG9wX2lkIjowfQ.vKKISmuPENkyGLe1xt8tmxJlKjSFrZgRhEyXB0y66M4';
// if (options.token) { // if (options.token) {
// ctoken = options.token; // ctoken = options.token;