@@ -1,18 +1,18 @@
// 食物种类列表
export const foodSpeciesList = [{
- id: 30,
+ id: 100,
imgUrl: '/static/images/game/food-img1.png',
- credit: 100
+ credit: 30
},
{
- id: 100,
+ id: 300,
imgUrl: '/static/images/game/food-img2.png',
- credit: 300
+ credit: 100
- id: 300,
+ id: 600,
imgUrl: '/static/images/game/food-img3.png',
- credit: 600
+ credit: 300
}
]
@@ -45,7 +45,7 @@ export function useGame() {
async function handleWeishi({id:cShiwuId,credit:cCredit}, doFinish) {
- const [err, info] = await catchError(getYouxiWeishi({shiwuId:cShiwuId,credit:cCredit }));
+ const [err, info] = await catchError(getYouxiWeishi({shiwuId:cCredit,credit:cShiwuId }));
if (err) {
toast("请求异常,请稍后尝试");
return;