|
@@ -34,11 +34,13 @@
|
|
|
<img class="item-img" src="@/static/logo.png" alt="" :key="item" v-for="item of 3" />
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
+ <button @click='handlerBind'>绑定</button>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import { getMyTeam } from "@/api/client/mine.js"
|
|
|
+ import { getMyTeam , inviteBind } from "@/api/client/mine.js"
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -56,7 +58,18 @@ export default {
|
|
|
getMyTeam(this.queryParams).then(res=>{
|
|
|
console.log("Res",res)
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
+ // 测试绑定
|
|
|
+ handlerBind(){
|
|
|
+ let params = {
|
|
|
+ userId:'1692178132393070594',
|
|
|
+ targetId:'1774462327015325697',
|
|
|
+ type:1
|
|
|
+ }
|
|
|
+ inviteBind(params).then(res=>{
|
|
|
+ console.log("@@@@res",res)
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
</script>
|