1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-23 11:58:41 +08:00
2020-08-24 20:52:06 +08:00

26 lines
463 B
PHP

<?php
namespace App\Models;
class Client
{
/**
* 类型
*/
const TYPE_DESKTOP = 1; // desktop
const TYPE_MOBILE = 2; // mobile
const TYPE_APP = 3; // app
const TYPE_MINI = 4; // 小程序
public static function types()
{
return [
self::TYPE_DESKTOP => 'desktop',
self::TYPE_MOBILE => 'mobile',
self::TYPE_APP => 'app',
self::TYPE_MINI => 'mini',
];
}
}