Browse Source

11月8日库存管理

XMLWAN 2 years ago
parent
commit
a1ae0582f6

+ 1 - 1
controllers/his_api_controller.go View File

@@ -3969,7 +3969,7 @@ func (c *HisApiController) GetHisOrderList() {
3969 3969
 	if len(start_time) > 0 {
3970 3970
 		theTime, err := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 00:00:00", loc)
3971 3971
 		if err != nil {
3972
-			fmt.Println(err)
3972
+			//fmt.Println(err)
3973 3973
 			c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeParamWrong)
3974 3974
 			return
3975 3975
 		}

+ 1 - 1
controllers/mobile_api_controllers/mobile_api_base_controller.go View File

@@ -120,7 +120,7 @@ func (this *MobileBaseAPIAuthController) Prepare() {
120 120
 			//该机构下该用户有多少个
121 121
 			redisClient := service.RedisClient()
122 122
 			defer redisClient.Close()
123
-			key2 := strconv.FormatInt(adminUserInfo.Org.Id, 64) + "_" + strconv.FormatInt(adminUserInfo.AdminUser.Id, 64) + "_role_ids"
123
+			key2 := strconv.FormatInt(adminUserInfo.Org.Id, 10) + "_" + strconv.FormatInt(adminUserInfo.AdminUser.Id, 10) + "_role_ids"
124 124
 			result, _ := redisClient.Get(key2).Result()
125 125
 			var role models.App_Role
126 126
 			var roles []string