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.
41 lines
832 B
41 lines
832 B
9 months ago
|
<?php
|
||
|
|
||
|
/*
|
||
|
* The file is part of the payment lib.
|
||
|
*
|
||
|
* (c) Leo <dayugog@gmail.com>
|
||
|
*
|
||
|
* This source file is subject to the MIT license that is bundled
|
||
|
* with this source code in the file LICENSE.
|
||
|
*/
|
||
|
|
||
|
namespace Payment;
|
||
|
|
||
|
/**
|
||
|
* @package Payment
|
||
|
* @author : Leo
|
||
|
* @email : dayugog@gmail.com
|
||
|
* @date : 2019/3/30 3:32 PM
|
||
|
* @version : 1.0.0
|
||
|
* @desc : 系统常量
|
||
|
**/
|
||
|
final class Payment
|
||
|
{
|
||
|
const SUC = 0;
|
||
|
|
||
|
// 代码级别错误
|
||
|
const CLASS_NOT_EXIST = 1000;
|
||
|
const PARAMS_ERR = 1001;
|
||
|
const NOT_SUPPORT_METHOD = 1002;
|
||
|
|
||
|
// 业务错误
|
||
|
const SIGN_ERR = 2001;
|
||
|
const FORMAT_DATA_ERR = 2002;
|
||
|
|
||
|
// 第三方错误
|
||
|
const GATEWAY_REFUSE = 3001;
|
||
|
const GATEWAY_CHECK_FAILED = 3002;
|
||
|
const NOTIFY_DATA_EMPTY = 3003;
|
||
|
const MCH_INFO_ERR = 3004;
|
||
|
}
|