Commit fb3ed1d6 authored by mengcuiguang's avatar mengcuiguang

接口调试

parent e58c07b2
......@@ -131,7 +131,7 @@
windowWidth: 0,
bottomSafePadding: 12,
h5Url: 'https://api.mints-id.com/index.html',
baseUrl: 'https://api.mints-tech.cn/camera-api/api',
baseUrl: 'https://api.mints-tech.cn/camera-api/miniApi',
// baseUrl: 'http://test.mints-id.com/ww-new/api',
titleButtonWidth: 38,
token: '',
......@@ -145,7 +145,8 @@
auth: false, // 三要素实名认证
userInfo: null,
cardInfo: null,
pkgName: 'com.mints.quickscan'
// pkgName: 'com.mints.quickscanmax'
pkgName: 'com.mints.helivideo'
}
};
</script>
......
......@@ -147,7 +147,7 @@ export default {
Object.assign(header, {
// token: app.globalData.token,
token: '9B5E0CC7F6791821267A35C1D83709ED75AEB7A3458073702BEFA64BA9D10D0C5F433703067DF5142735505C42F58997',
token: '393068DF9283B935CC4C37D9ABEF88F39D63941D16243ACA30B04FE7A3F7F2EB5F433703067DF5142735505C42F58997',
pkgName: app.globalData.pkgName
})
......
......@@ -8,7 +8,6 @@
}
},
"pages": [
// // #ifndef APP-PLUS
// {
// "path": "pages/loading",
// "style": {
......@@ -17,7 +16,6 @@
// "navigationBarTextStyle": "black" //用于配置状态栏的字体颜色
// }
// },
// // #endif
{
"path": "pages/index/index",
"style": {
......
......@@ -60,26 +60,28 @@
var promotionId = '' // aid
var productId = ''
if (obj.query.clueToken ?? '' != '') {
channel = 'tt'
clueToken = obj.query.clueToken ?? ''
adId = obj.query.adId ?? ''
advertiserId = obj.query.advertiserId ?? ''
reqId = obj.query.reqId ?? ''
promotionId = obj.query.promotionId ?? ''
productId = obj.query.productId ?? ''
}
if (obj.query.ksChannel ?? '' != '') {
channel = 'kuaishou'
advertiserId = obj.query.accountid ?? ''
clueToken = obj.query.callback ?? ''
adId = obj.query.aid ?? ''
}
// if (obj.query.clueToken ?? '' != '') {
// channel = 'tt'
// clueToken = obj.query.clueToken ?? ''
// adId = obj.query.adId ?? ''
// advertiserId = obj.query.advertiserId ?? ''
// reqId = obj.query.reqId ?? ''
// promotionId = obj.query.promotionId ?? ''
// productId = obj.query.productId ?? ''
// }
// if (obj.query.ksChannel ?? '' != '') {
// channel = 'kuaishou'
// advertiserId = obj.query.accountid ?? ''
// clueToken = obj.query.callback ?? ''
// adId = obj.query.aid ?? ''
// }
my.getAuthCode({
scopes: 'auth_user',
success: res => {
console.log('my.getAuthCode=',res.authCode);
that.post({
url: '/user/wechatlogin',
data: {
......@@ -104,7 +106,11 @@
});
},
fail: err => {
console.log('my.getAuthCode 调用失败', err)
console.log('my.getAuthCode 调用失败', err);
message.notify('请登录后使用');
setTimeout(() => {
that.alipayLogin();
}, 1000);
}
});
}
......@@ -127,8 +133,8 @@
transform: translateY(-50%);
image {
width: 120rpx;
height: 180rpx;
width: 200rpx;
height: 200rpx;
margin-bottom: 52rpx;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment