예제 #1
0
 function editGoods()
 {
     $goods = array('id' => E_POST('id'), 'name' => E_POST('name'), 'intro' => E_POST('intro'), 'price' => E_POST('price'), 'pic' => E_POST('pic'));
     $model = new GoodsModel();
     $model->editGoods($goods);
     $this->out_json(true, "edit success");
 }