收银台获取用户列表

main
yangsai 4 weeks ago
parent a3c318da82
commit 8e04970375
  1. 21
      app/controller/cashier/User.php

@ -13,7 +13,6 @@ namespace app\controller\cashier;
use app\Request;
use app\services\cashier\UserServices;
use app\services\store\StoreUserServices;
use app\controller\api\v2\activity\UserCode;
use app\services\order\{OtherOrderServices,
StoreCartServices,
StoreDeliveryOrderServices,
@ -35,7 +34,6 @@ use app\services\user\level\SystemUserLevelServices;
use app\services\user\member\MemberCardServices;
use app\services\activity\discounts\StoreDiscountsServices;
use app\services\activity\collage\UserCollageCodeServices;
use app\webscoket\SocketPush;
use crmeb\services\CacheService;
use think\exception\ValidateException;
@ -45,7 +43,6 @@ use think\facade\Log;
*/
class User extends AuthController
{
private $userCode;
protected $getChennel = [
'weixin' => 0,
'routine' => 1,
@ -71,14 +68,6 @@ class User extends AuthController
* @param SystemStoreStaffServices $services
* @return mixed
*/
public function __construct(UserCollageCodeServices $services)
{
// 创建UserCode的实例
$this->userCode = new UserCode($services);
}
public function updatePwd(Request $request, SystemStoreStaffServices $services)
{
$data = $request->postMore([
@ -297,16 +286,6 @@ class User extends AuthController
*/
public function swithUser(Request $request)
{
$table_number = $request->post('table_number', 0);
if(!empty($table_number)){
//wmc换桌
// 创建UserCode的实例
$h = $this->userCode->userChangingTables2(89,87);
var_dump($h);die;
}
$uid = $request->post('uid', 0);
$touristUid = $request->post('tourist_uid', 0);
$cashierId = $request->post('cashier_id', 0);

Loading…
Cancel
Save