Skip to content

class Environments

cangjie
public class Environments

功能:提供常用主机环境名称常量。

成员概览

成员功能
const Staging表示预发布环境名称。
const Production表示生产环境名称。
const Development表示开发环境名称。

const Staging

cangjie
public static const Staging = "Staging"

功能:表示预发布环境名称。

const Production

cangjie
public static const Production = "Production"

功能:表示生产环境名称。

const Development

cangjie
public static const Development = "Development"

功能:表示开发环境名称。