@@ -89,7 +89,7 @@ class Package extends Apic
}
$id = input('id','');
- $check = Db::name('package')->where('id',$id)->where('company_id',$this->auth->company_id)->lock(ture)->find();
+ $check = Db::name('package')->where('id',$id)->where('company_id',$this->auth->company_id)->lock(true)->find();
if(empty($check)){
$this->error('不存在的套餐');