1
This commit is contained in:
@@ -24,6 +24,12 @@ const (
|
|||||||
ImStatusOpen = 1 //开启
|
ImStatusOpen = 1 //开启
|
||||||
ImStatusClose = -1 //关闭
|
ImStatusClose = -1 //关闭
|
||||||
|
|
||||||
|
//10(用户)、20(骑手)、30(商家)、32(连锁账号登录)、95(系统)
|
||||||
|
SenderTypeUser = "10"
|
||||||
|
SenderTypeRider = "20"
|
||||||
|
SenderTypeBusiness = "30"
|
||||||
|
SenderTypeChainedAccountLogin = "32"
|
||||||
|
SenderTypeSystem = "95"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BusinessSendMsgReq im发送消息
|
// BusinessSendMsgReq im发送消息
|
||||||
|
|||||||
@@ -189,8 +189,12 @@ func TestNew2(t *testing.T) {
|
|||||||
//fmt.Println(reflect.TypeOf(file3))
|
//fmt.Println(reflect.TypeOf(file3))
|
||||||
//fmt.Println(reflect.TypeOf(file2))
|
//fmt.Println(reflect.TypeOf(file2))
|
||||||
|
|
||||||
var n = 0
|
str := "20235760123"
|
||||||
fmt.Println(n)
|
|
||||||
fmt.Println(reflect.TypeOf(n))
|
fmt.Println(str[:2])
|
||||||
|
|
||||||
|
//var n = 0
|
||||||
|
//fmt.Println(n)
|
||||||
|
//fmt.Println(reflect.TypeOf(n))
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user