存客宝应用接口初始化

This commit is contained in:
Ghost
2026-01-05 10:25:32 +08:00
parent fa37227954
commit 02797ba50a
414 changed files with 85530 additions and 75 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace app\cunkebao\controller;
use app\common\controller\PaymentService;
class Pay
{
public function createOrder()
{
$order = [
'companyId' => 111,
'userId' => 111,
'orderNo' => date('YmdHis') . rand(100000, 999999),
'goodsId' => 34,
'goodsName' => '测试测试',
'orderType' => 1,
'money' => 1
];
$paymentService = new PaymentService();
$res = $paymentService->createOrder($order);
return $res;
}
}