Example #1
0
 def wechats_article_read_channel(self):
     data = DbPlusWechatsArticleReadChannel(self.uniacid, self.date,
                                            self.key,
                                            self.secret).get_data()
     if data:
         insert(PlusWechatsArticleReadChannel, data)
     pass
Example #2
0
 def insert_plus_wxapp_member_active_keep(self):
     try:
         plus_wxapp_member_active_keep = DbPlusWxappMemberActiveKeep(
             self.uniacid, self.date)
         data = plus_wxapp_member_active_keep.get_data()
         if data:
             insert(PlusWxappMemberActiveKeep, data)
     except Exception, e:
         p_a.logger.getLogger().error('PlusWxappMemberActiveKeep 异常:%s', e)
Example #3
0
 def insert_wxapp_visit(self):
     '''小程序用户访问数据'''
     try:
         data = DbPlusWxappVisit(self.uniacid, self.date, self.key,
                                 self.secret).get_data()
         if data:
             insert(PlusWxappVisit, data)
     except Exception, e:
         p_a.logger.getLogger().error('小程序用户访问数据 异常:%s', e)
Example #4
0
 def wechats_article_read_count(self):
     data = DbPlusWechatsArticleReadCount(self.uniacid, self.date, self.key, self.secret).get_data()
     if data:
         # print data
         insert(PlusWechatsArticleReadCount, [data])
Example #5
0
 def wechats_member_analysis(self):
     data = DbPlusWechatsMemberAnalysis(self.uniacid,self.date,self.key,self.secret).get_data()
     if data:
         insert(PlusWechatsMemberAnalysis, [data])