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