From 2fe556a03bce3df5ad8fdcfdc92583d8ea945ac9 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Thu, 29 Mar 2018 12:01:28 +0800
Subject: [PATCH] 新增广告调用接口
---
Yfs/Model/Base.php | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Yfs/Model/Base.php b/Yfs/Model/Base.php
index c4c6f7d..2b904a2 100644
--- a/Yfs/Model/Base.php
+++ b/Yfs/Model/Base.php
@@ -46,6 +46,13 @@
return $this->db->insert($this->table, $data);
}
+ /**
+ * [add description]
+ */
+ public function save($data){
+ return $this->db->insert($this->table, $data);
+ }
+
public function update($data, $query){
return $this->db->update($this->table, $data, $query);
}
--
Gitblit v1.8.0