|
@@ -182,20 +182,21 @@
|
|
|
var uid = searchParams.get('uid')
|
|
|
if (uid) {
|
|
|
this.uid = uid
|
|
|
+ if (first) {
|
|
|
+ axios({
|
|
|
+ method: 'post',
|
|
|
+ url: 'https://reader-api.ai160.com/wx/userEvent/v2',
|
|
|
+ headers: {
|
|
|
+ uid: this.uid,
|
|
|
+ channelCode: '3001'
|
|
|
+ },
|
|
|
+ data: {
|
|
|
+ action: 'IOS_PAY_ENTER'
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
- if (first) {
|
|
|
- axios({
|
|
|
- method: 'post',
|
|
|
- url: 'https://reader-api.ai160.com/wx/userEvent/v2',
|
|
|
- headers: {
|
|
|
- uid: this.uid,
|
|
|
- channelCode: '3001'
|
|
|
- },
|
|
|
- data: {
|
|
|
- action: 'IOS_PAY_ENTER'
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
+
|
|
|
if (code) {
|
|
|
this.code = code
|
|
|
axios({
|