multi-store/app/store/controller/user/UserShipController.php

28 lines
617 B
PHP
Raw Normal View History

2024-06-14 15:53:47 +08:00
<?php
namespace app\store\controller\user;
use app\admin\logic\user_ship\UserShipLogic;
2024-06-14 15:53:47 +08:00
use app\store\controller\BaseAdminController;
use app\common\lists\user\UserShipLists;
class UserShipController extends BaseAdminController
{
public function lists()
{
return $this->dataLists(new UserShipLists());
}
public function is_user_ship(){
$data=$this->request->post();
UserShipLogic::user_ship($data);
if(UserShipLogic::hasError()){
return $this->fail(UserShipLogic::getError());
}else{
return $this->success('ok');
}
}
2024-06-14 15:53:47 +08:00
}