|
@@ -87,6 +87,10 @@ class DeleteService extends Service
|
|
|
public function fp($data,$user){
|
|
|
if(empty($data['id']) || empty($data['type']) || empty($data['man'])) return [false, '必填参数不能为空!'];
|
|
|
|
|
|
+ $key = "fpyj".$data['id'].$data['type'];
|
|
|
+ list($status,$msg) = $this->limitingSendRequestBackgExpire($key);
|
|
|
+ if(! $status) return [false,$msg];
|
|
|
+
|
|
|
try {
|
|
|
DB::beginTransaction();
|
|
|
if($data['type'] == 1){
|
|
@@ -207,6 +211,10 @@ class DeleteService extends Service
|
|
|
public function yj($data,$user){
|
|
|
if(empty($data['id']) || empty($data['type']) || empty($data['man'])) return [false, '必填参数不能为空!'];
|
|
|
|
|
|
+ $key = "fpyj".$data['id'].$data['type'];
|
|
|
+ list($status,$msg) = $this->limitingSendRequestBackgExpire($key);
|
|
|
+ if(! $status) return [false,$msg];
|
|
|
+
|
|
|
try {
|
|
|
DB::beginTransaction();
|
|
|
if($data['type'] == 1){
|