|
@@ -6,9 +6,9 @@ namespace app\admin\controller;
|
|
|
use app\admin\model\GoodLog;
|
|
|
use think\App;
|
|
|
use think\facade\Db;
|
|
|
-class Good extends \app\BaseController
|
|
|
+class Good extends Base
|
|
|
{
|
|
|
- public $post="";
|
|
|
+
|
|
|
private $acton=[
|
|
|
"allotsend"=>'调拨发货',
|
|
|
"allotin"=>'调拨入库',
|
|
@@ -31,15 +31,6 @@ class Good extends \app\BaseController
|
|
|
public function __construct(App $app)
|
|
|
{
|
|
|
parent::__construct($app);
|
|
|
- $this->post = $this->request->post();
|
|
|
-// $token = isset($this->post['token']) ? trim($this->post['token']) : "";
|
|
|
-// if($token==""){
|
|
|
-// return error_show(101,'token不能为空');
|
|
|
-// }0
|
|
|
-// $effetc = VerifyTokens($token);
|
|
|
-// if(!empty($effetc) && $effetc['code']!=0){
|
|
|
-// return error_show($effetc['code'],$effetc['message']);
|
|
|
-// }
|
|
|
}
|
|
|
|
|
|
public function list(){
|