def wechats_article_read_channel(self): data = DbPlusWechatsArticleReadChannel(self.uniacid, self.date, self.key, self.secret).get_data() if data: insert(PlusWechatsArticleReadChannel, data) pass
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)
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)
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])
def wechats_member_analysis(self): data = DbPlusWechatsMemberAnalysis(self.uniacid,self.date,self.key,self.secret).get_data() if data: insert(PlusWechatsMemberAnalysis, [data])