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.
25 lines
458 B
25 lines
458 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Dictionary\WeChat\Payment;
|
|
|
|
/**
|
|
* JSAPI支付 V2 API列表
|
|
*
|
|
* @see https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_1
|
|
*/
|
|
enum V2Api: string
|
|
{
|
|
// 查询订单
|
|
case QUERY_ORDER = '/pay/orderquery';
|
|
|
|
// 查询退款单
|
|
case QUERY_REFUND_ORDER = '/pay/refundquery';
|
|
|
|
// 统一下单
|
|
case PAYMENT = '/pay/unifiedorder';
|
|
|
|
// 退款
|
|
case REFUND = '/secapi/pay/refund';
|
|
}
|
|
|