From bef2c06923d3ba6727654f734bb93d5a09855dc5 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Thu, 14 Jun 2018 09:50:43 +0800
Subject: [PATCH] 增加女声
---
Yfs/Api/Ad.php | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Yfs/Api/Ad.php b/Yfs/Api/Ad.php
index 792a8fe..380756e 100644
--- a/Yfs/Api/Ad.php
+++ b/Yfs/Api/Ad.php
@@ -8,7 +8,9 @@
public function getRules() {
return array(
'getAd' => array(
-
+ 'user_id' => array(
+ 'name' => 'user_id', 'type' => 'string', 'require' => true, 'desc' => '������id'
+ ),
),
);
}
@@ -28,6 +30,8 @@
*/
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