You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
24
hyhproject/admin/controller/Wsysconfigs.php
Executable file
24
hyhproject/admin/controller/Wsysconfigs.php
Executable file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
namespace wstmart\admin\controller;
|
||||
use wstmart\admin\model\SysConfigs as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 微信配置控制器
|
||||
*/
|
||||
class Wsysconfigs extends Base{
|
||||
|
||||
public function index(){
|
||||
$m = new M();
|
||||
$object = $m->getSysConfigs();
|
||||
$this->assign("object",$object);
|
||||
return $this->fetch("edit");
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存
|
||||
*/
|
||||
public function edit(){
|
||||
$m = new M();
|
||||
return $m->edit(1);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user