<?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); } }