# Functions
AddDate 时间添加,处理日期头尾日BUG的问题.
ApiFormat 对外API格式.
ApiFormatFail 返回失败的JSON字符串.
ApiFormatSuccess 返回成功的JSON字符串.
No description provided by the author
检查s是否空字符串,否则返回d.
检查email是否合法.
检查整数.
检查手机号是否合法.
压缩图片,控制在2M以内,仅仅支持 jpg/jpeg/png.
目录打包到ZIP.
DoBuild 构建.
生成随机数.
HttpGet GET请求.
获取处理好的信息(data字段是第一个返回值。有错误返回nil。).
No description provided by the author
HttpGetListSuccess 获取数据列表,忽略错误.
HttpGetSuccess 获取返回正确的请求的值(data字段的值),忽略错误.
No description provided by the author
--------- POST FROM start ----------.
------------ post json 相关方法 start ----------- HttpPostJSON 发数POST请求.
HttpServiceGetSuccess 获取GET数据.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HttpServicePostJSON 发送远程POST请求.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Md5 32位MD5.
No description provided by the author
No description provided by the author
No description provided by the author
RandString 随机字符串.
RemoteIP 获取客户端IP.
No description provided by the author
No description provided by the author
No description provided by the author
中文unicode转中文字符串.