1234567891011121314151617181920212223 |
- package main
- import (
- "fmt"
- "testing"
- )
- func TestTagBidding(t *testing.T) {
- data := map[string]interface{}{
- "toptype": "招标",
- "subtype": "招标",
- "buyerclass": "能源化工",
- "spidercode": "a_jyxxfbpt_gg",
- }
- rea := TagBidding(data)
- fmt.Println(rea)
- reb := calculateFlag(rea, columns)
- fmt.Println("reb", reb)
- //1000 0100 0001
- }
|