mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-02 03:08:12 +00:00
43 lines
1.2 KiB
PHP
43 lines
1.2 KiB
PHP
<?php
|
||
// +----------------------------------------------------------------------
|
||
// | Niucloud-admin 企业快速开发的saas管理平台
|
||
// +----------------------------------------------------------------------
|
||
// | 官方网址:https://www.niucloud-admin.com
|
||
// +----------------------------------------------------------------------
|
||
// | niucloud团队 版权所有 开源版本可自由商用
|
||
// +----------------------------------------------------------------------
|
||
// | Author: Niucloud Team
|
||
// +----------------------------------------------------------------------
|
||
|
||
namespace app\dict\applet;
|
||
|
||
|
||
/**
|
||
* 小程序版本
|
||
* Class ChannelDict
|
||
* @package app\dict\common
|
||
*/
|
||
class AppletlDict
|
||
{
|
||
|
||
const ON = '1';//草稿
|
||
//微信公众号
|
||
const OFF = '2';
|
||
|
||
const PUBLISHED = '3';
|
||
|
||
|
||
const DOWNLOAD = 'download';//下载
|
||
const UPGRADE = 'upgrade';//升级
|
||
/**
|
||
* 小程序版本状态
|
||
* @return array
|
||
*/
|
||
public static function getStatus(){
|
||
$data = [
|
||
self::ON => get_lang('dict_applet.channel_weapp'),//启用
|
||
self::OFF => get_lang('dict_applet.channel_wechat'),//下架
|
||
];
|
||
return $data;
|
||
}
|
||
} |