...
|
...
|
@@ -542,7 +542,7 @@ class Add extends Api |
|
|
if (empty($StorID)) {
|
|
|
$this->error('您不是门店拥有者');
|
|
|
}
|
|
|
$Res = Db::name('cp')->where('stod_id', $StorID)->where('id', $Id)->update(['status' => 0]);
|
|
|
$Res = Db::name('cp')->where('stor_id', $StorID)->where('id', $Id)->update(['status' => 0]);
|
|
|
if ($Res) $this->success('成功', 1);
|
|
|
else $this->error('失败', 0);
|
|
|
}
|
...
|
...
|
|