更新编辑转售商品
This commit is contained in:
parent
2d70eccc45
commit
82688e37ee
@ -612,7 +612,7 @@ class Community extends BaseController
|
|||||||
*/
|
*/
|
||||||
public function editResale($id)
|
public function editResale($id)
|
||||||
{
|
{
|
||||||
$communityInfo = Db::name('community')->where('uid', $this->request->uid())->where('community_id', $id)->whereIn('status', '0,-1')->where('is_del', 0)->fetchSql()->find();
|
$communityInfo = Db::name('community')->where('uid', $this->request->uid())->where('community_id', $id)->whereIn('status', '0,-1')->where('is_del', 0)->find();
|
||||||
if (!$communityInfo) {
|
if (!$communityInfo) {
|
||||||
return app('json')->fail('转售商品不存在');
|
return app('json')->fail('转售商品不存在');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user