|
|
@@ -19,6 +19,22 @@ class RechargeController extends BaseController
|
|
|
|
|
|
public $guestAccess = ['recharge'];
|
|
|
|
|
|
+ public function actionList()
|
|
|
+ {
|
|
|
+ $get = Yii::$app->request->get();
|
|
|
+ $hdId = $get['hdId'] ?? 0;
|
|
|
+ $custom = CustomClass::getById($customId, true);
|
|
|
+ if (empty($custom)) {
|
|
|
+ util::fail('没有找到客户');
|
|
|
+ }
|
|
|
+ if ($custom->shopId != $this->shopId) {
|
|
|
+ util::fail('不是你的客户');
|
|
|
+ }
|
|
|
+ $where = ['shopId' => $this->shopId, 'customId' => $customId];
|
|
|
+ $list = RechargeClass::getRechargeList($where);
|
|
|
+ util::success($list);
|
|
|
+ }
|
|
|
+
|
|
|
//用微信支付进行充值 ssh 20250709
|
|
|
public function actionWxPayRecharge()
|
|
|
{
|