ソースを参照

Merge branch 'develop' of http://code.dashoo.cn/dashoo/supplier_system into develop

dubch 4 年 前
コミット
ed446f4b8f
1 ファイル変更3 行追加2 行削除
  1. 3 2
      src/dashoo.cn/backend/api/controllers/base.go

+ 3 - 2
src/dashoo.cn/backend/api/controllers/base.go

@@ -5,6 +5,7 @@ import (
 	"encoding/base64"
 	"errors"
 	"fmt"
+	"log"
 	"reflect"
 	"strconv"
 	"strings"
@@ -267,7 +268,7 @@ var (
 	DelOilSupplierCertName         string = "Del_OilSupplierCert"
 	DelOilSupplierName             string = "Del_OilSupplier"
 	DelOilCorporateInfoName        string = "Del_OilCorporateInfo"
-	DelBaseNameName        		   string = "Del_Base_User"
+	DelBaseNameName                string = "Del_Base_User"
 	DelOilSupplierFileName         string = "Del_OilSupplierFile"
 	DelOilPaymentInfoName          string = "Del_OilPaymentInfo"
 	DelOilSupplierCertSubName      string = "Del_OilSupplierCertSub"
@@ -353,7 +354,7 @@ func (this *BaseController) Prepare() {
 		"/api/bankapi/get-icbc-gfgl2019-token",
 		"/api/iam/iamlogin",
 	}
-	fmt.Println("请求API-URL", this.Ctx.Input.URL())
+	log.Print("请求API-URL:", this.Ctx.Input.URL())
 	for _, v := range urls {
 		//fmt.Println("**this.Ctx.Input.URL()**", this.Ctx.Input.URL())
 		if this.Ctx.Input.URL() == v {