|
|
@@ -199,7 +199,7 @@ class Order extends Api
|
|
|
|
|
|
//
|
|
|
$user = (substr($params['address'], 0, 2) == '0x')? $userModel->getByAddress($params['address']): $userModel->getByUid($params['address']) ;
|
|
|
- if(empty($user)) throw new Exception(__("赠送用户不存在"));
|
|
|
+ if(empty($user)) throw new Exception(__("请输入接收人钱包地址或 UID"));
|
|
|
if($user['id'] == $order_info['user_id']) throw new Exception(__("赠送用户不能是自己"));
|
|
|
//手续费
|
|
|
$price = $order_info['price'] > 0? $order_info['price']: $productTransfer::getTransferMinPrice($order_info->product_id);
|