|
@@ -8,7 +8,6 @@ use App\Models\SearchInfoModel;
|
|
use App\Models\UserCareDream;
|
|
use App\Models\UserCareDream;
|
|
use App\Models\UserInfoModel;
|
|
use App\Models\UserInfoModel;
|
|
use Illuminate\Http\Request;
|
|
use Illuminate\Http\Request;
|
|
-use App\Services\Base\ErrorCode;
|
|
|
|
class IndexController extends Controller
|
|
class IndexController extends Controller
|
|
{
|
|
{
|
|
|
|
|
|
@@ -108,12 +107,12 @@ class IndexController extends Controller
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @api {get} /api/index/search 搜索(search)
|
|
|
|
- * @apiDescription 搜索(search)
|
|
|
|
|
|
+ * @api {get} /api/index/search 搜索
|
|
|
|
+ * @apiDescription 搜索
|
|
* @apiGroup Index
|
|
* @apiGroup Index
|
|
* @apiPermission none
|
|
* @apiPermission none
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
- * @apiParam {string} keyword 关键字可选 (ha)
|
|
|
|
|
|
+ * @apiParam {string} keyword 关键字可选 (ha/name)
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* HTTP/1.1 200 OK
|
|
* HTTP/1.1 200 OK
|
|
* get
|
|
* get
|