Commit 719eeaca authored by clone's avatar clone

bug

parent a00551bd
<?php
namespace app\index\controller;
use app\index\extend\Basic;
use app\model\Users;
/**
* Created by PhpStorm.
......@@ -9,6 +12,30 @@ use app\index\extend\Basic;
* Time : 16:37
* Intro:
*/
class InviteTotal extends Basic{
class InviteTotal extends Basic
{
public function getFirstLoginTotal()
{
$params = $this->params;
$params = array(
"district_id" => 1,
"store_id" => 1,
"start_time" => "",
"end_time" => "",
"page_no" => 1,
"page_size" => 30
);
if (empty($params["district_id"])) {
return $this->response("101", "请选择部门或门店");
}
if (empty($params["start_time"]) || empty($params["end_time"])) {
return $this->response("101", "请选择时间");
}
$page_no = empty($params['page_no']) ? 1 : $params['page_no'];
$page_size = empty($params['page_size']) ? 30 : $params['page_size'];
$userModel = new Users();
}
}
\ No newline at end of file
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