Commit 00f5e368 authored by wildfirecode13's avatar wildfirecode13

1

parent 1d23ae61
'use strict';
import API from '../../api';
import resList from '../../resconfig/resList';
const app = getApp();
Component({
props: {
catImgArr: ["90b114e6-83cb-46f1-b607-f88c50077b05", "4e471df6-01ab-421d-ba0b-084b2110dc6d" , "003e9904-aee4-4b8d-8d5d-fb4b1188bec1","90283bd3-4b18-4535-97a8-90318f068781"],
......@@ -55,11 +56,12 @@ Component({
const adoptCat = await API.adoptCat({
catName: name,
catType: this.props.selectType,
// invitedId: 'AAEjNvjuAMaJc3uyPjcM_BF2'
// invitedId: 'openId:AAHVNvjuAMaJc3uyPjeHlCEF'//honingwon
invitedId: app.inviteId
});
console.log("aaaa",adoptCat)
if (adoptCat && adoptCat.success) {
// my.showToast({content:'邀请成功'+app.inviteId})
my.hideLoading();
this.onModalClose();
this.onSelectCatOk();
......
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