|
@@ -92,7 +92,7 @@ func ModifyUserRecordSessionKey(openId, sessionKey string) (err error) {
|
|
|
func GetUserRecordByMobile(platform int, bindAccount string) (item *OpenIdList, err error) {
|
|
|
var sql string
|
|
|
sql = `SELECT union_id,cygx_user_id AS user_id FROM cygx_user_record WHERE 1 = 1 AND cygx_bind_account = ?`
|
|
|
- err = orm.NewOrm().Raw(sql, platform, bindAccount).QueryRow(&item)
|
|
|
+ err = orm.NewOrm().Raw(sql, bindAccount).QueryRow(&item)
|
|
|
return
|
|
|
}
|
|
|
|