mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-14 20:42:49 +00:00
30 lines
659 B
PHP
30 lines
659 B
PHP
<?php
|
|
|
|
namespace app\core\logic;
|
|
|
|
use app\core\util\MiniProgramService;
|
|
use think\Request;
|
|
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: xurongyao <763569752@qq.com>
|
|
* Date: 2019/4/8 5:48 PM
|
|
*/
|
|
class Pay
|
|
{
|
|
public static function notify(){
|
|
$request=Request::instance();
|
|
switch (strtolower($request->param('notify_type','wenxin'))){
|
|
case 'wenxin':
|
|
break;
|
|
case 'routine': //小程序支付回调
|
|
MiniProgramService::handleNotify();
|
|
break;
|
|
case 'alipay':
|
|
break;
|
|
default:
|
|
echo 121;
|
|
break;
|
|
}
|
|
}
|
|
} |