|
@@ -6,6 +6,7 @@ use AlibabaCloud\Client\AlibabaCloud;
|
|
|
use AlibabaCloud\Client\Exception\ClientException;
|
|
|
use AlibabaCloud\Client\Exception\ServerException;
|
|
|
use app\common\model\StoreBanner;
|
|
|
+use app\common\model\TopSearch;
|
|
|
use app\common\model\UserLevel;
|
|
|
use app\common\model\UserTrack;
|
|
|
use Dm\Request\V20151123 as Dm;
|
|
@@ -68,6 +69,22 @@ class Expedite extends Base
|
|
|
|
|
|
|
|
|
/**
|
|
|
+ * @title 获取热搜设置
|
|
|
+ * @desc 获取热搜设置
|
|
|
+ * @author qc
|
|
|
+ * @url /api/Expedite/getTopSearch
|
|
|
+ * @method GET
|
|
|
+ * @return name:title type:string default:-- desc:标题
|
|
|
+ */
|
|
|
+ public function getTopSearch()
|
|
|
+ {
|
|
|
+ $list = TopSearch::field('id,title')->where(['status'=>1,'is_deleted'=>0])->order('sort desc,id desc')->select()->toArray();
|
|
|
+ $this->success('ok',['list'=>$list]);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
* @title 发送短信验证码
|
|
|
* @desc 发送短信验证码
|
|
|
* @author qc
|