增加注释,调整客服隐藏显示的文字

This commit is contained in:
liaofei 2019-11-21 16:11:11 +08:00
parent 3b98b584f0
commit 0901239f87
3 changed files with 7 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class StoreService extends AuthController
$f[] = Form::input('nickname','客服名称',$service["nickname"]);
$f[] = Form::radio('customer','统计管理',$service['customer'])->options([['value'=>1,'label'=>'开启'],['value'=>0,'label'=>'关闭']]);
$f[] = Form::radio('notify','订单通知',$service['notify'])->options([['value'=>1,'label'=>'开启'],['value'=>0,'label'=>'关闭']]);
$f[] = Form::radio('status','客服状态',$service['status'])->options([['value'=>1,'label'=>'显示'],['value'=>0,'label'=>'隐藏']]);
$f[] = Form::radio('status','客服状态',$service['status'])->options([['value'=>1,'label'=>'在线'],['value'=>0,'label'=>'离线']]);
$form = Form::make_post_form('修改数据',$f,Url::buildUrl('update',compact('id')));
$this->assign(compact('form'));
return $this->fetch('public/form-builder');

View File

@ -6,6 +6,11 @@ use EasyWeChat\MiniProgram\AccessToken;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
/**
* 注册订阅消息
* Class ProgramServiceProvider
* @package crmeb\services
*/
class ProgramServiceProvider implements ServiceProviderInterface
{
public function register(Container $pimple)

View File

@ -123,6 +123,7 @@ class ProgramSubscribeService extends AbstractAPI
}
/**
* 获取模板分类
* @return \EasyWeChat\Support\Collection|null
* @throws \EasyWeChat\Core\Exceptions\HttpException
*/