|
@@ -19,7 +19,7 @@ type pushMapping struct {
|
|
|
}
|
|
|
|
|
|
func (p *pushMapping) Init(Mysql *mysql.Mysql) {
|
|
|
- infotype := Mysql.SelectBySql("select id,type,name from infotype")
|
|
|
+ infotype := Mysql.SelectBySql("select id,type,name from base_service.infotype")
|
|
|
p.Toptype = map[string]int{}
|
|
|
p.Subtype = map[string]int{}
|
|
|
p.Buyerclass = map[string]int{}
|
|
@@ -55,7 +55,7 @@ func (p *pushMapping) Init(Mysql *mysql.Mysql) {
|
|
|
//
|
|
|
p.Area = map[string]int{}
|
|
|
p.City = map[string]int{}
|
|
|
- province := Mysql.SelectBySql("select id,level,name from province")
|
|
|
+ province := Mysql.SelectBySql("select id,level,name from base_service.province")
|
|
|
if province != nil && len(*province) > 0 {
|
|
|
for _, v := range *province {
|
|
|
id := util.IntAll(v["id"])
|