|
|
@@ -37,7 +37,7 @@ class DynamicController extends BaseController
|
|
|
*/
|
|
|
public function index(){
|
|
|
$params = request()->all();
|
|
|
- $type == isset($params['type'])? $params['type'] : 0;
|
|
|
+ $type = isset($params['type'])? $params['type'] : 0;
|
|
|
if($type==1){
|
|
|
$params['user_id'] = $this->userId;
|
|
|
return $this->service->getCollectList($params);
|