|
@@ -384,10 +384,12 @@ class Goods extends BaseModel
|
|
|
* @param $verify_state_remark
|
|
|
* @return array
|
|
|
*/
|
|
|
- public function lockup($condition, $verify_state_remark)
|
|
|
+ public function lockup($condition, $verify_state_remark,$goods_ids)
|
|
|
{
|
|
|
model('goods')->update([ 'verify_state_remark' => $verify_state_remark, 'verify_state' => 10, 'goods_state' => 0 ], $condition);
|
|
|
model('goods_sku')->update([ 'is_delete' => 1,'verify_state_remark' => $verify_state_remark, 'verify_state' => 10, 'goods_state' => 0 ], $condition);
|
|
|
+ model('recommend')->delete([ 'goods_id' => $goods_ids ]);
|
|
|
+
|
|
|
return $this->success(1);
|
|
|
}
|
|
|
|