Explorar el Código

修改 /sbyj/GetMyOrders 接口获取 currencyid 错误的问题

muchinfo hace 3 meses
padre
commit
34f29a2792
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      models/account.go

+ 1 - 1
models/account.go

@@ -1027,7 +1027,7 @@ func GetTaAccountByUserID(userID int) (*Taaccount, error) {
 	engine := db.GetEngine()
 
 	var taaccount Taaccount
-	has, err := engine.Where("TA.TRADESTATUS <> 7 and USERID = ?", userID).Get(&taaccount)
+	has, err := engine.Where("TRADESTATUS <> 7 and USERID = ?", userID).Get(&taaccount)
 	if err != nil {
 		return nil, err
 	}