diff --git a/app/store/controller/StaffController.php b/app/store/controller/StaffController.php new file mode 100644 index 000000000..b399ce94e --- /dev/null +++ b/app/store/controller/StaffController.php @@ -0,0 +1,28 @@ + 'id', 'desc' => 'id', 'type' => 'int'], + ['name' => 'staff_name', 'desc' => '店员名称', 'type' => 'string'], + ]), + ] + public function lists(SystemStoreStaffLogic $staffLogic) + { + return $this->data($staffLogic->listByWhere(['store_id' => $this->request->adminInfo['store_id'], 'status' => 1], 'id,staff_name')); + } + +}