|
|
|
@ -7,20 +7,26 @@ |
|
|
|
var sysName="唛盟智能开发";//系统名称,用于展示
|
|
|
|
|
|
|
|
export default { |
|
|
|
//登录相关
|
|
|
|
//登录相关,如果后端启用oauth2,则返回oauth2client,如果后端不启用oauth2,后端账户使用mdp-lcode服务,则返回lcode,如果使用mdp-sys提供服务,则返回sys
|
|
|
|
getOauth2LoginContext:function(){ |
|
|
|
return "oauth2client" |
|
|
|
}, |
|
|
|
//短信相关
|
|
|
|
getSmsContext: function() { |
|
|
|
return 'sms' |
|
|
|
|
|
|
|
//模块订单 如果后端使用mdp-lcode提供订单服务,则返回lcode,如果使用mdp-sys服务,则返回sys
|
|
|
|
getMoContext(){ |
|
|
|
return 'lcode' |
|
|
|
}, |
|
|
|
// 图片内容服务api路径
|
|
|
|
// 如果后端使用mdp-lcode提供账户管理服务,则返回lcode,如果使用mdp-sys提供服务,则返回sys
|
|
|
|
getSysContext: function() { |
|
|
|
return 'lcode' |
|
|
|
}, |
|
|
|
|
|
|
|
// 图片内容服务api路径,如果后端使用mdp-lcode提供图片文件服务,则返回lcode,如果使用mdp-arc提供图片文件服务,则返回arc
|
|
|
|
getArcContext: function() { |
|
|
|
return 'arc' |
|
|
|
}, |
|
|
|
|
|
|
|
// 图片内容服务api路径
|
|
|
|
// 表单服务api路径
|
|
|
|
getFormContext: function() { |
|
|
|
return 'lcode' |
|
|
|
}, |
|
|
|
@ -28,6 +34,10 @@ export default { |
|
|
|
getLcodeContext: function() { |
|
|
|
return 'lcode' |
|
|
|
}, |
|
|
|
//短信相关
|
|
|
|
getSmsContext: function() { |
|
|
|
return 'sms' |
|
|
|
}, |
|
|
|
// 工作流api路径
|
|
|
|
getWorkflowContext: function() { |
|
|
|
return 'workflow' |
|
|
|
@ -48,14 +58,6 @@ export default { |
|
|
|
getPayContext:function() { |
|
|
|
return 'tpa' |
|
|
|
}, |
|
|
|
//模块订单
|
|
|
|
getMoContext(){ |
|
|
|
return 'lcode' |
|
|
|
}, |
|
|
|
// 系统管理api路径
|
|
|
|
getSysContext: function() { |
|
|
|
return 'lcode' |
|
|
|
}, |
|
|
|
getTpaContext: function(){ |
|
|
|
return 'tpa' |
|
|
|
}, |
|
|
|
|