@ -18,6 +18,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"baseHref": "/youzhan/",
"outputPath": "dist/anxin119",
"index": "src/index.html",
"main": "src/main.ts",
@ -1,6 +1,6 @@
{
"/api": {
"target": "http://10.156.134.54:8906/",
"target": "http://121.36.37.70:8906/",
"测试1": "http://121.36.37.70:8906/",
"测试2": "https://znaq.sinochemoilmarketing.com/",
"测试3": "https://gas.anxincloud.cn/",
@ -93,7 +93,7 @@ export class SingleloginComponent implements OnInit {
resolve();
},
(err) => {
alert("token无效");
alert("请求中台接口失败");
reject();
}
);
@ -121,7 +121,7 @@ export class SingleloginComponent implements OnInit {
@ -4,9 +4,9 @@ import { Injectable } from "@angular/core";
providedIn: "root",
})
export class PatternService {
static isProd: any = false;
static isProd: any = true;
constructor() {}
public isProd: boolean = false; //是否是生产环境
public isProd: boolean = true; //是否是生产环境