icole 4 anni fa
parent
commit
1c47c2a391

+ 1 - 1
etc/i2bill-api.yaml

@@ -1,7 +1,7 @@
 Name: i2bill-api
 Host: 127.0.0.1
 Port: 8888
-DataSource: root:gSRGZqb121TlYIbJy0@tcp(47.103.202.94:3306)/i2bill?charset=utf8&loc=Local&parseTime=true
+DataSource: root:gSRGZqb121TlYIbJy0@tcp(47.103.202.94:3306)/i2erp_erp1?charset=utf8&loc=Local&parseTime=true
 Table:
 Cache:
   - Host: 47.103.219.158:7001

+ 7 - 0
internal/logic/acquirer_mkt_qr/acquirer_mkt_qr_update_logic.go

@@ -56,6 +56,13 @@ func (l *AcquirerMktQrUpdateLogic) AcquirerMktQrUpdate(r *http.Request) (*types.
 	//mk
 	if userInfo.Role == 2 {
 		bean.Role = 2
+		if bean.QuaoYji == 0 && bean.CallType == 0 && bean.MaType == 0 && bean.NetworkDetailId == 0 {
+			bean.QuaoYji = 1001
+			bean.CallType = 1007
+			bean.MaType = 1445
+			bean.NetworkDetailId = 1058
+			bean.ActivityId = 0
+		}
 		//ty = "mk"
 	} else {
 		//兼职