|
|
@@ -17,11 +17,11 @@ class InviteController extends BaseController
|
|
|
public function actionList()
|
|
|
{
|
|
|
$get = Yii::$app->request->get();
|
|
|
- $status = isset($get['status']) ? $get['status'] : '';
|
|
|
+ $status = isset($get['status']) ? $get['status'] : -1;
|
|
|
$search = isset($get['search']) ? $get['search'] : '';
|
|
|
$where = [];
|
|
|
$where['merchantId'] = $this->merchantId;
|
|
|
- if ($status != '') {
|
|
|
+ if ($status != -1) {
|
|
|
$where['status'] = $status;
|
|
|
}
|
|
|
if (!empty($search)) {
|