# DataType

数据类型。

# 数据类型列表

数据类型 类型值 说明
invalid 0 无效类型
json 1 json为utf8字符串
int 2 int为大端4字节
string 3 字符为utf8字符
double 4 double为大端8字节
bin 5 bin 为二进制数据,http api需要base64编解码传递
boolean 6 boolean型,true/false
array 7 数组类型
enum 8 枚举类型
float 9 单精度浮点型
gps 10 地理位置类型, 用于上传经纬度、海拔、时间等参数
long 11 长整型
image 12 图片类型
date 13 日期类型