|
@@ -831,10 +831,7 @@ class GoodsLogic
|
|
|
$goods['price'] = $info['price'];
|
|
|
$goods['goods_num'] = $info['goods_num'];
|
|
|
$goods['create_time'] = $time;
|
|
|
- $goods['goods_hash']=$info['goods_hash'];
|
|
|
- $goods['user_hash']=$info['user_hash'];
|
|
|
$result = $this->usersGoodsData->insertGetId($goods);
|
|
|
- ChainLogic::instance()->transfer(Users::get($uid),GoodsHash::getByHash($goods['goods_hash']),$targetInfo);
|
|
|
if($result){
|
|
|
Db::commit();
|
|
|
return Response::success('转赠成功');
|