|
for _, v := range strings.Split(bids, ",") {
|
|
for _, v := range strings.Split(bids, ",") {
|
|
if labArr := *db.Mysql.SelectBySql(fmt.Sprintf("select * from %s where bid = ? and userid = ?", db.DbConf.Bdcollection), bid, userid); len(labArr) == 1 {
|
|
if labArr := *db.Mysql.SelectBySql(fmt.Sprintf("select * from %s where bid = ? and userid = ?", db.DbConf.Bdcollection), bid, userid); len(labArr) == 1 {
|