Files
cycle_api/app/Const/Im.php
2023-12-21 22:01:33 +08:00

34 lines
859 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Const;
class Im{
const USER_PREFIX = 'cycle_';
//平台ID, 1IOS2Android3Windows4OSX5Web6MiniWeb7Linux8Android Pad9IPad10admin
const PLATFORM_IOS = 1;
const PLATFORM_ANDROID = 2;
const PLATFORM_WINDOWS = 3;
const PLATFORM_OSX = 4;
const PLATFORM_WEB = 5;
const PLATFORM_MINIWEB = 6;
const PLATFORM_LINUX = 7;
const PLATFORM_ANDROID_PAD = 8;
const PLATFORM_IPAD = 9;
const PLATFORM_ADMIN = 10;
const PLATFORM = [
self::PLATFORM_IOS,
self::PLATFORM_ANDROID,
self::PLATFORM_WINDOWS,
self::PLATFORM_OSX,
self::PLATFORM_WEB,
self::PLATFORM_MINIWEB,
self::PLATFORM_LINUX,
self::PLATFORM_ANDROID_PAD,
self::PLATFORM_IPAD,
self::PLATFORM_ADMIN,
];
}