You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
53
hyhproject/admin/controller/Wxusers.php
Executable file
53
hyhproject/admin/controller/Wxusers.php
Executable 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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user