39 lines
2.0 KiB
Go
39 lines
2.0 KiB
Go
package common
|
|
|
|
// upload
|
|
const (
|
|
ERROR_OPEN_FILE = "打开文件错误"
|
|
ErrorImgExt = "图片格式错误"
|
|
ErrorImgDecode = "图片解析错误"
|
|
ERROR_ROTATE_IMG = "旋转图片出错"
|
|
)
|
|
|
|
var EnMessages = map[string]string{
|
|
"创建套餐信息失败": "Failed to create bundle information",
|
|
"创建套餐信息成功": "Successfully created bundle information",
|
|
"更新套餐信息失败": "Failed to update bundle information",
|
|
"更新套餐信息成功": "Successfully updated bundle information",
|
|
"删除套餐信息失败": "Failed to delete bundle information",
|
|
"删除套餐信息成功": "Successfully deleted bundle information",
|
|
"获取套餐列表失败": "Failed to get bundle list",
|
|
"获取套餐信息失败": "Failed to get bundle information",
|
|
"创建订单信息失败": "Failed to create order information",
|
|
"创建订单信息成功": "Successfully created order information",
|
|
"更新订单信息失败": "Failed to update order information",
|
|
"更新订单信息成功": "Successfully updated order information",
|
|
"获取订单信息失败": "Failed to get order information",
|
|
"获取订单列表失败": "Failed to get order list",
|
|
"缺少套餐UUID": "Missing bundle UUID",
|
|
"缺少客户签名信息": "Missing customer signature",
|
|
"插入签名失败": "Failed to insert signature",
|
|
"缺少订单号": "Missing order number",
|
|
"缺少订单信息": "Missing order information",
|
|
"非当前用户订单信息不可操作": "Cannot operate on order information of other users",
|
|
"订单已支付": "Order has been paid",
|
|
"您已购买过套餐,无法再次购买": "You have already purchased this bundle and cannot purchase again",
|
|
"查询支付信息失败": "Failed to query payment information",
|
|
"下载文件失败": "Failed to download file",
|
|
"上传文件失败": "Failed to upload file",
|
|
"时间格式错误": "Invalid time format",
|
|
}
|