|
@@ -58,28 +58,6 @@ class Exec extends Base
|
|
|
->toArray();
|
|
|
|
|
|
return app_show(0, "获取成功", ["list" => $list, "count" => $count]);
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-// $post = $this->post;
|
|
|
-// $token = isset($post['token']) ? trim($post['token']) : "";
|
|
|
-// if ($token == "") {
|
|
|
-// return error_show(101, 'token不能为空');
|
|
|
-// }
|
|
|
-// $effetc = VerifyTokens($token);
|
|
|
-// if(!empty($effetc) && $effetc['code']!=0){
|
|
|
-// return error_show($effetc['code'],$effetc['message']);
|
|
|
-// }
|
|
|
-// $where = ['type' => 1];
|
|
|
-// $page = isset($post['page']) ? intval($post['page']) : 1;
|
|
|
-// $size = isset($post['size']) ? intval($post['size']) : 10;
|
|
|
-// $count = Db::name("exec")->where($where)->count();
|
|
|
-// $total = ceil($count / $size) > 1 ? ceil($count / $size) : 1;
|
|
|
-// $page = $page >= $total ? intval($total) : $page;
|
|
|
-// $list = Db::name("exec")->where($where)->page($page, $size)->select();
|
|
|
-// return app_show(0, "获取成功", ["list" => $list, "count" => $count]);
|
|
|
}
|
|
|
|
|
|
public function save()
|