删除halt
This commit is contained in:
parent
f0d95a4d94
commit
c015a8f00c
@ -1746,7 +1746,6 @@ class ProductRepository extends BaseRepository
|
|||||||
*/
|
*/
|
||||||
public function switchStatus($id, $data)
|
public function switchStatus($id, $data)
|
||||||
{
|
{
|
||||||
halt($data);
|
|
||||||
$product = $this->getSearch([])->find($id);
|
$product = $this->getSearch([])->find($id);
|
||||||
if(!$product) throw new ValidateException('商品不存在');
|
if(!$product) throw new ValidateException('商品不存在');
|
||||||
$this->dao->update($id, $data);
|
$this->dao->update($id, $data);
|
||||||
|
@ -32,8 +32,6 @@ class FinancialRecordTransfer extends BaseController
|
|||||||
|
|
||||||
public function lst()
|
public function lst()
|
||||||
{
|
{
|
||||||
halt(1);
|
|
||||||
|
|
||||||
[$page, $limit] = $this->getPage();
|
[$page, $limit] = $this->getPage();
|
||||||
$where = $this->request->params(['keyword', 'date', 'mer_id']);
|
$where = $this->request->params(['keyword', 'date', 'mer_id']);
|
||||||
$merId = $this->request->merId();
|
$merId = $this->request->merId();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user