1
This commit is contained in:
parent
9ad9ff6455
commit
1bc8f8e2f0
@ -11,6 +11,9 @@ use phpcommon\SqlHelper;
|
||||
class ChipPageController extends BaseAuthedController
|
||||
{
|
||||
public function chipPageList(){
|
||||
$obj = new services\ChipPageService();
|
||||
$obj->initChipPage();
|
||||
|
||||
$list =array();
|
||||
ChipPage::getList(function ($row) use(&$list){
|
||||
array_push($list, ChipPage::toDto($row));
|
||||
@ -21,9 +24,6 @@ class ChipPageController extends BaseAuthedController
|
||||
}
|
||||
|
||||
public function showPageInfo(){
|
||||
$obj = new services\ChipPageService();
|
||||
$obj->initChipPage();
|
||||
|
||||
$page = getReqVal('page',1);
|
||||
$chipPageDb = ChipPage::find($page);
|
||||
if (!$chipPageDb){
|
||||
|
Loading…
x
Reference in New Issue
Block a user