兼容iOS的giftSource为0问题
This commit is contained in:
@@ -326,6 +326,10 @@ public class GiftV2Controller extends BaseController {
|
||||
@CancelUidTag(paramName = {"targetUids"})
|
||||
public BusiResult sendV4(@RequestParam(value = "targetUids") Long[] targetUids
|
||||
, Long roomUid, int giftId, int giftNum, byte sendType, String msg, byte giftSource, String chatSessionId) throws Exception {
|
||||
//兼容iOS的giftSource为0问题
|
||||
if (giftSource == 0) {
|
||||
giftSource = Constant.GiftSource.COMMON;
|
||||
}
|
||||
Long uid = getUid();
|
||||
logger.info("sendV4 param==>>> uid:{},targetUids:{},roomUid:{},giftId:{},giftNum:{},sendType:{},giftSource:{}",
|
||||
uid, targetUids, roomUid, giftId, giftNum, sendType, giftSource);
|
||||
|
Reference in New Issue
Block a user