Commit 19c9faba by lujunyi

麻黄素药品判断

parent e44e0db7
...@@ -155,6 +155,9 @@ public function drugLimit(Request $request) ...@@ -155,6 +155,9 @@ public function drugLimit(Request $request)
} }
} }
$canBuyMahuangCount = $site_config['ephedrine_limit_buy_7'] - $buyed_mahuang_counts; // 麻黄素药品剩余可购买数量 $canBuyMahuangCount = $site_config['ephedrine_limit_buy_7'] - $buyed_mahuang_counts; // 麻黄素药品剩余可购买数量
if ($canBuyMahuangCount < 0) {
$canBuyMahuangCount = 0;
}
// 处理麻黄素药品数据 // 处理麻黄素药品数据
$mahuangsu_buy_num = 0; // 本次购买麻黄素药品数量 $mahuangsu_buy_num = 0; // 本次购买麻黄素药品数量
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment