Sellergoodsoffline.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?php
  2. namespace app\api\controller;
  3. /**
  4. *
  5. *
  6. * ----------------------------------------------------------------------------
  7. *
  8. * 卖家商品控制器
  9. */
  10. class Sellergoodsoffline extends MobileSeller
  11. {
  12. public function initialize()
  13. {
  14. parent::initialize(); // TODO: Change the autogenerated stub
  15. $this->obj = new Sellergoods($this->app);
  16. }
  17. public function goods_list()
  18. {
  19. $this->obj->goods_list();
  20. }
  21. public function goods_show()
  22. {
  23. $this->obj->goods_show();
  24. }
  25. public function goods_unshow()
  26. {
  27. $this->obj->goods_unshow();
  28. }
  29. public function drop_goods()
  30. {
  31. $this->obj->drop_goods();
  32. }
  33. public function edit_goods()
  34. {
  35. $this->obj->edit_goods();
  36. }
  37. public function goods_class()
  38. {
  39. $this->obj->goods_class();
  40. }
  41. public function get_common_data()
  42. {
  43. $this->obj->get_common_data();
  44. }
  45. public function save_goods()
  46. {
  47. $this->obj->save_goods();
  48. }
  49. public function image_upload()
  50. {
  51. $this->obj->image_upload();
  52. }
  53. public function add_spec()
  54. {
  55. $this->obj->add_spec();
  56. }
  57. public function edit_image()
  58. {
  59. $this->obj->edit_image();
  60. }
  61. public function save_image()
  62. {
  63. $this->obj->save_image();
  64. }
  65. }