| 12345678910111213141516171819202122232425262728293031 |
- <?php
- /**
- * @package merchant
- *
- * @author xaboy
- * @day 2020/6/2
- *
- *
- */
- namespace app\controller\api;
- use app\common\model\store\order\StoreGroupOrder;
- use app\controller\api\merchant\sxy\Access;
- use crmeb\services\QrcodeService;
- use crmeb\services\WechatService;
- class AliPay
- {
- public function getPayInfo()
- {
- $groupOrderId = request()->param('groupOrderId');
- $groupOrder = StoreGroupOrder::where('group_order_id', $groupOrderId)->find()->toArray();
- $access = new Access();
- $res = $access->pay_huifu('ALI','',$groupOrder,'支付宝支付',env('APP_URL')."/api/hf_notify/pay");
- return app('json')->success($res);
- }
- }
|