feat(gift): 增加查询保底进度接口

This commit is contained in:
liangtongchuan
2023-02-18 18:50:44 +08:00
committed by luying
parent 199677e2a4
commit 30562552e7
3 changed files with 39 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ describe('测试英杰传宝箱', function () {
}, 500);
});
afterEach(function (done) {
after(function (done) {
pinusClient.disconnect();
// disconnect 后等待 500ms供服务器清理环境、退出频道等
setTimeout(() => {
@@ -44,4 +44,14 @@ describe('测试英杰传宝箱', function () {
});
});
it('查看保底情况', function (done) {
pinusClient.request('role.itemHandler.getGiftPackageFloor', {
id: GOOD_ID_RED_RAND,
}, (res) => {
checkSuccessResponse(res);
console.log(JSON.stringify(res));
done();
});
});
});