You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
JavaScript
34 lines
1.1 KiB
JavaScript
/**
|
|
* 此文件定义一些基础参数
|
|
*/
|
|
|
|
|
|
var STR_PUB_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDqB+OB1GMmNsOushhd3nHKO3OsextO+UYjtxUBLViHIQ"
|
|
+ "qrwaRnN2NU0vg0WBSpO0qtArglvCDWbThZgdApw1AJvUH3Rl9cMajoMQo3PFZqzJbwd6mwmmaiWmNPOsYL+4pVr/ndG23QjUMthS0h1K9"
|
|
+ "9YVtfbwZUW9OkFn0bSk970QIDAQAB"; // RSA公钥
|
|
|
|
//接口请求基础路径---测试环境地址
|
|
//var basePath = "http://safe.shuangyufang.com/ehs/";
|
|
var basePath = "http://42.236.120.164:9003/ehs/";
|
|
var basePathJY = "http://www.henanjinyuanjianshe.com/";
|
|
//项目报名
|
|
var ctx = "esh_jgpt_app/";
|
|
|
|
//登录地址
|
|
var loginPath = "http://regulator.shuangyufang.com/" + ctx + "pages/main/login3.html";
|
|
|
|
//文件路径 root: "/" + 'profile/uploadFile/',
|
|
var baseFilePath = {
|
|
root: "/" + 'profile/uploadFile/', //根路径 有些部署的系统不需要 profile 这部分路径
|
|
hiddenImg: "hiddenDangerImg/", //隐患图片路径
|
|
source: "source/", //培训文件
|
|
checkImg: "checkImg/" //巡检照片
|
|
};
|
|
|
|
//钉钉企业ID
|
|
var corpId = 'dingc98101427d6b00a035c2f4657eb6378f';
|
|
|
|
//微信id
|
|
var wxAppid = 'wxfc92287b738fbb69';
|
|
|