From b02540aef65fa1bc2af72cff2d7f444108a5865e Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang
Date: Mon, 17 May 2021 09:20:54 +0800
Subject: [PATCH] 添加参数
---
utils/ajaxFn.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/utils/ajaxFn.js b/utils/ajaxFn.js
index ffde84c..8f3086b 100644
--- a/utils/ajaxFn.js
+++ b/utils/ajaxFn.js
@@ -1,6 +1,7 @@
const md5 = require('./md5.js')
const app = getApp()
-const baseUrl = 'https://t.finlean.com'
+// const baseUrl = 'https://t.finlean.com'//测试服地址
+const baseUrl = 'https://zib.jycash.cn';//正式服地址
/**
* url请求地址
* data 数据对象
@@ -28,7 +29,8 @@
// params.sessionId = sessionId
params.jttechSign = md5.hex_md5(str+sessionId)
}
- params.platId=2442007150000402
+ // params.platId=2442007150000402;//叮咚
+ params.platId=1452105140000101;//智享
my.request({
url: `${baseUrl}${url}`,
headers: {'content-type':'application/json'},
@@ -42,7 +44,6 @@
fail: fail,
complete:function(res){
// console.log(`耗时${Date.now() - timeStart}`, baseUrl + url);
-
if(res.status == 200){
console.log(res.data.body);
setTimeout(function () {
--
Gitblit v1.8.0