mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改注释
This commit is contained in:
parent
575e4519b4
commit
15da07ef89
@ -7,6 +7,7 @@ use app\wechat\service\WechatService;
|
|||||||
use think\admin\Controller;
|
use think\admin\Controller;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 异步通知处理
|
||||||
* Class Notify
|
* Class Notify
|
||||||
* @package app\data\controller\api
|
* @package app\data\controller\api
|
||||||
*/
|
*/
|
||||||
|
@ -11,6 +11,7 @@ use think\admin\extend\CodeExtend;
|
|||||||
use think\exception\HttpResponseException;
|
use think\exception\HttpResponseException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 会员订单数据接口
|
||||||
* Class Order
|
* Class Order
|
||||||
* @package app\data\controller\api\auth
|
* @package app\data\controller\api\auth
|
||||||
*/
|
*/
|
||||||
@ -163,7 +164,7 @@ class Order extends Auth
|
|||||||
} catch (HttpResponseException $exception) {
|
} catch (HttpResponseException $exception) {
|
||||||
throw $exception;
|
throw $exception;
|
||||||
} catch (\Exception $exception) {
|
} catch (\Exception $exception) {
|
||||||
$this->error("获取支付参数失败,{$exception->getMessage()}");
|
$this->error("创建支付参数失败,{$exception->getMessage()}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -219,7 +220,7 @@ class Order extends Auth
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单取消
|
* 主动取消未支付的订单
|
||||||
* @throws \think\db\exception\DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws \think\db\exception\DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws \think\db\exception\ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace app\data\service;
|
namespace app\data\service;
|
||||||
|
|
||||||
|
use think\admin\extend\CodeExtend;
|
||||||
use think\admin\Service;
|
use think\admin\Service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -18,6 +19,7 @@ class OrderService extends Service
|
|||||||
*/
|
*/
|
||||||
public function syncAmount(string $orderno): bool
|
public function syncAmount(string $orderno): bool
|
||||||
{
|
{
|
||||||
|
//@todo 处理订单支付完成的动作
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user