|
@@ -26,7 +26,7 @@ class YqUserBidRelationService
|
|
|
}
|
|
|
|
|
|
public static function create($uid,$from_bid,$type,$to_bid){
|
|
|
- if(empty($uid) || empty($bid) || empty($type)){
|
|
|
+ if(empty($uid) || empty($from_bid) || empty($type)){
|
|
|
return false;
|
|
|
}
|
|
|
if(!self::getByUidAndBid($uid,$from_bid)){
|