|
|
@@ -119,12 +119,12 @@ class RechargeController extends BaseController
|
|
|
{
|
|
|
$get = Yii::$app->request->get();
|
|
|
$customId = $get['customId'] ?? 0;
|
|
|
- $custom = CustomClass::getById($customId, true);
|
|
|
+ $custom = \bizHd\custom\classes\CustomClass::getById($customId, true);
|
|
|
if(empty($custom)) {
|
|
|
util::fail('没有找到客户');
|
|
|
}
|
|
|
if($custom->shopId != $this->shopId) {
|
|
|
- util::fail('不是你的客户'.$custom->shopId.' '.$this->shopId);
|
|
|
+ util::fail('不是你的客户');
|
|
|
}
|
|
|
$where = ['shopId' => $this->shopId,'customId' => $customId];
|
|
|
$list = RechargeClass::getRechargeList($where);
|