|
@@ -19,6 +19,9 @@ func Set(c *gin.Context) {
|
|
|
if inData.Version == "1.0.4" {
|
|
|
outData.Type = "true"
|
|
|
app.OK(c, outData, app.Success)
|
|
|
+ } else if inData.Version == "2.1.1"{
|
|
|
+ outData.Type = "true"
|
|
|
+ app.OK(c, outData, app.Success)
|
|
|
} else {
|
|
|
outData.Type = "false"
|
|
|
app.OK(c, outData, app.Success)
|