WH01243 9 сар өмнө
parent
commit
d1c72e933f

+ 6 - 1
api/internal/service/initInfo.go

@@ -55,7 +55,12 @@ func (t *InitInfoService) UpdateInitInfo(company, business string) bool {
 	return fool
 }
 func (t *InitInfoService) FindInitInfo() map[string]interface{} {
-	returnJson := map[string]interface{}{}
+	returnJson := map[string]interface{}{
+		"business": "",
+		"company":  "",
+		"isInit":   false,
+		"isUpdate": false,
+	}
 	if t.PositionType == 1 {
 		isInit := false
 		userInfo := Middleground.PowerCheckCenter.Check("10000", t.MgoUserId, t.NewUserId, gconv.Int64(t.AccountId), t.EntId, t.PositionType, gconv.Int64(t.PositionId))