作者 anyv
1 个管道 的构建 通过 耗费 0 秒

4

... ... @@ -160,7 +160,9 @@ class SalesmangoodsController extends WeChatBaseController{
$data['suit'] = $_POST['suit'];
$data['grade'] = $_POST['grade'];
$data['printing'] = $_POST['printing'];
$a = $_POST['img0'].','.$_POST['img1'].','.$_POST['img2'];
$a[0] = $_POST['img0'];
$a[1] = $_POST['img1'];
$a[2] = $_POST['img2'];
$data['det_img'] = json_encode($a);
$data['id'] = $_POST['id'];
$up_data = Db::name('goods') -> update($data);
... ...