You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
2.4 KiB
32 lines
2.4 KiB
package wx
|
|
|
|
const CODE_SUCCESS = "SUCCESS" // 成功
|
|
const CODE_FAIL = "FAIL" // 失败
|
|
const CODE_NOTPAY = "NOTPAY" // 未支付
|
|
const CODE_CHANGE = "CHANGE" // 退款异常
|
|
const CODE_REFUNDCLOSE = "REFUNDCLOSE" // 退款关闭
|
|
const CODE_ERROR = "ERROR" // 业务错误
|
|
const CODE_INVALID_REQUEST = "INVALID_REQUEST" // 无效请求
|
|
const CODE_NOAUTH = "NOAUTH" // 异常IP请求不予受理
|
|
const CODE_NOTENOUGH = "NOTENOUGH" // 余额不足
|
|
const CODE_ORDERPAID = "ORDERPAID" // 订单已支付
|
|
const CODE_ORDERCLOSED = "ORDERCLOSED" // 订单已关闭
|
|
const CODE_SYSTEMERROR = "SYSTEMERROR" // 系统错误
|
|
const CODE_APPID_NOT_EXIST = "APPID_NOT_EXIST" // APPID不存在
|
|
const CODE_MCHID_NOT_EXIST = "MCHID_NOT_EXIST" // MCHID不存在
|
|
const CODE_APPID_MCHID_NOT_MATCH = "APPID_MCHID_NOT_MATCH" // APPID MCHID 不匹配
|
|
const CODE_LACK_PARAMS = "LACK_PARAMS" // 缺少参数
|
|
const CODE_OUT_TRADE_NO_USED = "OUT_TRADE_NO_USED" // 商户订单号重复
|
|
const CODE_SIGNERROR = "SIGNERROR" // 签名错误
|
|
const CODE_XML_FORMAT_ERROR = "XML_FORMAT_ERROR" // xml格式错误
|
|
const CODE_REQUIRE_POST_METHOD = "REQUIRE_POST_METHOD" // 请使用post请求方法
|
|
const CODE_POST_DATA_EMPTY = "POST_DATA_EMPTY" // post数据为空
|
|
const CODE_NOT_UTF8 = "NOT_UTF8" // 编码错误
|
|
const CODE_ORDERNOTEXIST = "ORDERNOTEXIST" // 交易订单号不存在
|
|
const CODE_BIZERR_NEED_RETRY = "BIZERR_NEED_RETRY" // 退款业务流程错误,需要商户触发重试来解决
|
|
const CODE_TRADE_OVERDUE = "TRADE_OVERDUE" // 订单已经超过退款期限
|
|
const CODE_USER_ACCOUNT_ABNORMAL = "USER_ACCOUNT_ABNORMAL" // 退款请求失败用户帐号注销
|
|
const CODE_INVALID_REQ_TOO_MUCH = "INVALID_REQ_TOO_MUCH" // 无效请求过多
|
|
const CODE_INVALID_TRANSACTIONID = "INVALID_TRANSACTIONID" // 无效transaction_id
|
|
const CODE_PARAM_ERROR = "PARAM_ERROR" // 参数错误
|
|
const CODE_FREQUENCY_LIMITED = "FREQUENCY_LIMITED" // 请求频率限制
|