新增微信服务
This commit is contained in:
parent
1d1afe468c
commit
49a8d04157
20
catch/wechat/CatchWechatService.php
Normal file
20
catch/wechat/CatchWechatService.php
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?php
|
||||||
|
namespace catchAdmin\wechat;
|
||||||
|
|
||||||
|
use catchAdmin\wechat\command\SyncUsersCommand;
|
||||||
|
use think\Service;
|
||||||
|
|
||||||
|
class CatchWechatService extends Service
|
||||||
|
{
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
parent::boot(); // TODO: Change the autogenerated stub
|
||||||
|
}
|
||||||
|
|
||||||
|
public function registerCommand()
|
||||||
|
{
|
||||||
|
$this->commands([
|
||||||
|
SyncUsersCommand::class,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
1
catch/wechat/command/SyncUsersCommand.php
Normal file
1
catch/wechat/command/SyncUsersCommand.php
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?php
|
11
catch/wechat/module.json
Normal file
11
catch/wechat/module.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "系统管理",
|
||||||
|
"alias": "system",
|
||||||
|
"description": "",
|
||||||
|
"keywords": [],
|
||||||
|
"order": 2,
|
||||||
|
"services": [],
|
||||||
|
"aliases": {},
|
||||||
|
"files": [],
|
||||||
|
"requires": []
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
<?php
|
Loading…
x
Reference in New Issue
Block a user