'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')

module.exports = merge(prodEnv, {
    NODE_ENV: '"development"',
    CONFIG_ENV: JSON.stringify(process.env.CONFIG_ENV),
    debug: true,
    isMobilePlatform: false,
    appCode: '"HLS_APP"',
    clearTable: true,
    //domainUrl:"http://123.125.154.135:10004/core/",
    //loginPath: "http://123.125.154.135:10004/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password=",
    //rootPath: "http://123.125.154.135:10004/core/r/api",
    // basePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=",
    //file_view:"http://123.125.154.135:10004/core/r/api/app/fileViewSvc?sysName=dr_dev&apiName=attment_view&attachment_id=",
    //filePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=file_view&",
    // 测试环境
    // loginPath: '"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
    // loginPathRl: '"http://sign.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
    // basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
    // basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
    // rootPath: '"http://sign.hitachics.com/core/r/api"',
    // file_url: '"http://sign.hitachics.com/file/"',
    // domainUrl: "http://sign.hitachics.com",
    // 正式环境
    loginPathRl: '"http://sign.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
    basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
    basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
    rootPath: '"http://sign.hitachics.com/core/r/api"',
    file_url: '"http://sign.hitachics.com/file/"',
    domainUrl: "http://sign.hitachics.com",
    appId: '"com.hls.easy.car"',
    currentVersion: '"1.0.0"',
    wxCode: "'hlsWx'",
    uploadSysName: "'HLS_APP'",
    uploadApiName: "'attachment_upload'"
});
