脚本

file.yesihao.tk

scp -r [email protected]:/data/www/file.yesihao.tk

bsk.yesihao.tk

yarn run build:test && ssh [email protected] rm -rf /data/www/bsk.yesihao.tk && scp -r dist [email protected]:/data/www/bsk.yesihao.tk

om.yesihao.tk

yarn run build:test && ssh [email protected] rm -rf /data/www/om.yesihao.tk && scp -r dist [email protected]:/data/www/om.yesihao.tk

creator.yesihao.tk

yarn run build:test && ssh [email protected] rm -rf /data/www/creator.yesihao.tk.yesihao.tk && scp -r dist [email protected]:/data/www/creator.yesihao.tk.yesihao.tk

of.yesihao.tk

yarn run build:test && ssh [email protected] rm -rf /data/www/of.yesihao.tk && scp -r dist [email protected]:/data/www/of.yesihao.tk
import {
  ROLE_LEADER,
  ROLE_ADMIN,
  ROLE_WRITER,
  ROLE_MODELER,
  ROLE_MEMBER,
  PERM_VISIT_DASHBOARD,
  PERM_VISIT_SCRIPT_APPROVING,
  PERM_VISIT_TEAM_STATISTICS,
  PERM_VISIT_ANNOUNCEMENT,
  PERM_CREATE_SCRIPT,
  PERM_VISIT_MODEL_MANAGE,
  PERM_VISIT_MODEL_LIST,
  PERM_COMPLETE_OFFICIAL_MODEL,
  PERM_VISIT_TEAM_MANAGE,
  PERM_VISIT_TEAM_MEMBER_LIST,
  PERM_INVITE_TEAM_MEMBER,
  PERM_ASSIGN_ROLE_SUPER,
  PERM_ASSIGN_ROLE,
  PERM_VISIT_SCRIPT_MANAGE,
  PERM_VISIT_SCRIPT_LIST,
  PERM_VISIT_SCRIPT_DETAIL,
  PERM_EDIT_SCRIPT,
  PERM_INVITE_COLLABORATING_FOR_SCRIPT,
  PERM_REQUEST_OFFLINE_FOR_SCRIPT,
  PERM_DELETE_SCRIPT,

  hasPermission,
  permissionRequired,
} from './common/permission';

ret.functionList = [100,101,102,103,300,301,302,400,500,503,506,505,]


你可能感兴趣的:(脚本)