From 3c60e8ec3e864c8bfebd10cc4569b5aeecb4c866 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Fri, 18 May 2018 09:46:24 +0800
Subject: [PATCH] 修改bug

---
 Yfs/Api/Ad.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Yfs/Api/Ad.php b/Yfs/Api/Ad.php
index dd09ddd..380756e 100644
--- a/Yfs/Api/Ad.php
+++ b/Yfs/Api/Ad.php
@@ -30,6 +30,7 @@
      */
     public function getAd(){
         $rs = array('code' => 0, 'msg' => '', 'info' => array());
+        $data_daily_service = new Domain_DataDaily();
         $res_avg = $data_daily_service->getUserDataAvg($this->user_id, $this->start_time, $this->end_time);
         $ad_service = new Domain_Ad();
         $ad = $ad_service->getAd();

--
Gitblit v1.8.0