Commit 39c598dd authored by 孙磊's avatar 孙磊

youhua

parent c5085bb8
...@@ -5,7 +5,6 @@ namespace app\models\v1\shopuser; ...@@ -5,7 +5,6 @@ namespace app\models\v1\shopuser;
use Yii; use Yii;
use app\models\v1\BaseModel; use app\models\v1\BaseModel;
use yii\data\ActiveDataProvider; use yii\data\ActiveDataProvider;
use yii\db\Query;
/** /**
* This is the model class for table "shop_user_complain". * This is the model class for table "shop_user_complain".
...@@ -89,7 +88,7 @@ class UserComplain extends BaseModel ...@@ -89,7 +88,7 @@ class UserComplain extends BaseModel
} }
return new ActiveDataProvider( return new ActiveDataProvider(
[ [
'query' => $query, 'query' => $query->asArray(),
'pagination' => [ 'pagination' => [
'pageSize' => 15, 'pageSize' => 15,
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment