宜呗小程序--微信小程序
Lzk
2025-08-05 b7bcaf556aa2424e808b6e6426ab22df9cfe11c1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<script>
import {checkUserStatus} from "@/api/modules/user";
 
export default {
  name: "index",
  data(){
    return {
      info:{}
    }
  },
  created() {
    checkUserStatus().then(res=>{
      this.info = res;
      uni.setStorageSync('customerId', res.customerId);
      console.log(this.info);
    });
  },
  methods: {
 
  },
}
</script>
 
<template>
 
</template>
 
<style scoped lang="scss">
 
</style>