Init Repo

This commit is contained in:
root
2019-09-06 23:53:10 +08:00
commit f0ef89dfbb
7905 changed files with 914138 additions and 0 deletions

View File

@ -0,0 +1,53 @@
<?php
namespace wstmart\admin\controller;
use wstmart\admin\model\Wxusers as M;
/**
* ============================================================================
* 微信用户控制器
*/
class Wxusers extends Base{
public function recodeUnionId(){
$m = new M();
return json_encode($m->recodeUnionId());
}
public function index(){
return $this->fetch("list");
}
/**
* 获取分页
*/
public function pageQuery(){
$m = new M();
return $m->pageQuery();
}
/**
* 与微信用户管理同步
*/
public function synchroWx(){
$m = new M();
return $m->synchroWx();
}
public function wxLoad(){
$m = new M();
return $m->wxLoad();
}
/**
* 获取指定对象
*/
public function getById(){
$m = new M();
return $m->getById((int)input('id'));
}
/**
* 编辑
*/
public function edit(){
$m = new M();
return $m->edit();
}
}