|
@@ -23,6 +23,7 @@ import com.game.common.annotation.RepeatSubmit;
|
|
import com.game.common.constant.AppSceneType;
|
|
import com.game.common.constant.AppSceneType;
|
|
import com.game.common.constant.finance.*;
|
|
import com.game.common.constant.finance.*;
|
|
import com.game.common.core.domain.HttpRet;
|
|
import com.game.common.core.domain.HttpRet;
|
|
|
|
+import com.game.common.core.domain.HttpRetArr;
|
|
import com.game.common.core.domain.R;
|
|
import com.game.common.core.domain.R;
|
|
import com.game.common.core.redis.RedisCache;
|
|
import com.game.common.core.redis.RedisCache;
|
|
import com.game.common.exception.ServiceException;
|
|
import com.game.common.exception.ServiceException;
|
|
@@ -144,6 +145,23 @@ public class AppUserController extends BaseController
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 查询用户收到的礼物
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/getGiftApp")
|
|
|
|
+ @ApiOperation(value = "APP-查询用户收到的礼物", notes = "APP-查询用户收到的礼物")
|
|
|
|
+ public HttpRetArr getGiftApp(Long userId)
|
|
|
|
+ {
|
|
|
|
+ startPage();
|
|
|
|
+ FinTranRecord finTranRecord = new FinTranRecord();
|
|
|
|
+ finTranRecord.setTranType1(FinTranType1.U_Income_Coin.getType());
|
|
|
|
+ finTranRecord.setTranType2(FinTranType2.REWARD_Income.getType());
|
|
|
|
+ finTranRecord.setTranType3(FinTranType3.RECOMMEND_ADD_AMOUNT.getType());
|
|
|
|
+ finTranRecord.setToUid(userId);
|
|
|
|
+ List<FinTranRecord> list = finTranRecordService.selectFinTranRecordList(finTranRecord);
|
|
|
|
+ return HttpRetArr.success("查询成功",list);
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 重置密码
|
|
* 重置密码
|
|
*/
|
|
*/
|