daili价格调整
This commit is contained in:
@@ -226,6 +226,7 @@ class Userinfo extends Controller
|
|||||||
$agent_user_model = new AgentUser;
|
$agent_user_model = new AgentUser;
|
||||||
$package_model = new ProductPackage;
|
$package_model = new ProductPackage;
|
||||||
$product_model = new ProductModel;
|
$product_model = new ProductModel;
|
||||||
|
$user_model = new UserModel;
|
||||||
|
|
||||||
$agent_id = $this->userinfo['OperaterID'];
|
$agent_id = $this->userinfo['OperaterID'];
|
||||||
|
|
||||||
@@ -289,6 +290,8 @@ class Userinfo extends Controller
|
|||||||
$price_model->updateOne($where,$update_data);
|
$price_model->updateOne($where,$update_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$user_model->updateOne(['Id'=>$data['UserId']],['discount_id'=>-1]);
|
||||||
|
|
||||||
$retuen_data = [
|
$retuen_data = [
|
||||||
'Code' => 10000,
|
'Code' => 10000,
|
||||||
'Message' => '',
|
'Message' => '',
|
||||||
|
|||||||
Reference in New Issue
Block a user