微擎笔记2

  1. mc_oauth_userinfo() 函数定义位置 framework/model/mc_mod.php
  2. mc_openid2uid()  获取ims_mc_mapping_fansuid  位置 framework/model/mc_mod.php
  3. setCredit() 设置商城积分  位置 ewei_shopv2/core/model/member.php
  4. getCredit() 获取积分      位置 ewei_shopv2/core/model/member.php

微擎和ewei商城用户相关表

shop_member表
openid = oGDJa*******_Tr9axUskI    oGDJa*****AqRdtzOAbo
uid = 5699
id = 7920
createtime = 1574222233  2019-11-20 11:57:13

mc_member表
uid = 5699  5818                           5824
createtime = 1574222571  2019-11-20 12:02:51

mc_mapping_fans表
openid = oGDJa*********_Tr9axUskI
fanid = 5687
uid = 5699  用户uid。对应mc_members表里的uid
followtime = 1570445865  2019-10-07 18:57:45
updatetime = 1574305193  2019-11-21 10:59:53

mc_fans_tag 表
openid = oGDJa**********_Tr9axUskI
id = 4083
subscribe_time = 1570445865  2019-10-07 18:57:45   用户关注时间
uniacid = 0
fanid = 0

posted @ 2019-11-23 09:59  不染不念不畏  阅读(453)  评论(0编辑  收藏  举报