GoodsController.class.php控制器页面<?php namespace Admin\Controller; use Think\Controller; class GoodsController extends Controller{ public function tianjia(){ $goods=D('Goods'); if(!empty($_POST)){ ){ $cfg=array( 'rootPath' => './Public/uploadss/', );//…