Browse Source

物料保存

renjiaojiao 2 weeks ago
parent
commit
95f81fc8c1
2 changed files with 3 additions and 1 deletions
  1. 2 0
      api/etc/biservice-api.yaml
  2. 1 1
      service/material.go

+ 2 - 0
api/etc/biservice-api.yaml

@@ -1,6 +1,7 @@
 Name: biService-api
 Host: 0.0.0.0
 Port: 9995
+MaxBytes: 5242880  # 5MB
 BiServiceRpc:
   Etcd:
     Hosts:
@@ -22,3 +23,4 @@ Logx:
 ResourceCenterKey: "resource.rpc" #资源中台rpc
 UserCenterKey: "usercenter.rpc" #用户中台rpc
 MessageCenterKey: "message.rpc"
+

+ 1 - 1
service/material.go

@@ -97,7 +97,7 @@ func GetPersonCode(positionId int64, name string) string {
 			"code":        code,
 			"pcode":       "04",
 			"level":       "2",
-			"name":        "",
+			"name":        name,
 			"remark":      "人员渠道码",
 			"SZ_LEVEL":    1,
 			"SZ_LEAF":     1,