1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace app\youzan\controller;
- use app\BaseController;
- use app\youzan\logic\Goodup;
- //(无需token,专门为了有赞项目调用的)
- class Other extends BaseController
- {
- //商品下架(有赞平台操作)
- public function goodOffLineByYouzan()
- {
- $item_no = $this->request->filter('trim')->post('item_no','');
- return Goodup::goodOffLineByYouzan($item_no);
- }
- //商品删除(有赞平台操作)
- public function goodDeleteByYouzan()
- {
- $item_no = $this->request->filter('trim')->post('item_no', '');
- return Goodup::goodDeleteByYouzan($item_no);
- }
- }
|