修改字段缓存
This commit is contained in:
parent
fe36a05758
commit
c47517c96f
@ -548,10 +548,7 @@ class PatientCaseService extends BaseService
|
||||
|
||||
// 判断是否存在于缓存中
|
||||
if (!empty($redis_value)){
|
||||
if (!array_key_exists($key,$redis_value)){
|
||||
Db::rollBack();
|
||||
return fail(HttpEnumCode::HTTP_ERROR,"存在非法数据");
|
||||
}else{
|
||||
if (array_key_exists($key,$redis_value)){
|
||||
if ($redis_value[$key]['is_filled'] == 1){
|
||||
Db::rollBack();
|
||||
return fail(HttpEnumCode::HTTP_ERROR,"请勿重复提交");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user