订单处理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
714 B

<?php
/**
*
*/
include_once(SERVER_ROOT."/model/mBase.php");
class mGoods extends mBase {
private $obj;
private $dataoods;
public function __construct() {
$this->obj = new dGoods();
$this->goods = 'goods_list';
}
public function addGoods($goods_id, $goods_name, $goods_price, $sku_id, $sku_name, $shop_id, $uid) {
$data = array();
$data['goods_id'] = $goods_id;
$data['goods_name'] = $goods_name;
$data['goods_price'] = $goods_price;
$data['sku_id'] = $sku_id;
$data['sku_name'] = $sku_name;
$data['shop_id'] = $shop_id;
$data['uid'] = $uid;
return $this->obj->insert($this->goods, $data);
}
}