daili价格调整

This commit is contained in:
“wanyongkang”
2021-05-11 15:30:16 +08:00
parent 9626888b7b
commit 0bd6e47b15

View File

@@ -226,6 +226,7 @@ class Userinfo extends Controller
$agent_user_model = new AgentUser;
$package_model = new ProductPackage;
$product_model = new ProductModel;
$user_model = new UserModel;
$agent_id = $this->userinfo['OperaterID'];
@@ -289,6 +290,8 @@ class Userinfo extends Controller
$price_model->updateOne($where,$update_data);
}
$user_model->updateOne(['Id'=>$data['UserId']],['discount_id'=>-1]);
$retuen_data = [
'Code' => 10000,
'Message' => '',