|
|
@@ -131,11 +131,6 @@ class RechargeController extends BaseController
|
|
|
$staffId = $shopAdmin->id;
|
|
|
$staffName = $shopAdmin->name;
|
|
|
|
|
|
- $shop = $this->shop;
|
|
|
- if ($shop->rechargeWeal == 0) {
|
|
|
- util::fail('请先设置充值规则');
|
|
|
- }
|
|
|
-
|
|
|
$connection = Yii::$app->db;
|
|
|
$transaction = $connection->beginTransaction();
|
|
|
try {
|