Browse Source

支持test mode

jiantaoli 4 years ago
parent
commit
1437c64f55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      adslib/device/device.go

+ 1 - 1
adslib/device/device.go

@@ -72,7 +72,7 @@ func GetIpReqTime(ip string) (int64, error) {
72 72
 
73 73
 func SetMiDeviceConf(key string, d DeviceConf) error {
74 74
 	if adslib.GetConf().TestMode {
75
-		return
75
+		return nil
76 76
 	}
77 77
 
78 78
 	conn := ads_redis.RedisConn.Get()