v1.0.9 #16

Merged
timi merged 12 commits from dev into master 2026-08-11 16:01:10 +00:00
Showing only changes of commit 81b7356d67 - Show all commits
@@ -8,7 +8,6 @@ import com.imyeyu.api.modules.gao.entity.GaoPointAccount;
import com.imyeyu.api.modules.gao.service.GaoPointAccountService;
import com.imyeyu.api.modules.gao.service.GaoStoreService;
import com.imyeyu.api.modules.user.service.RoleChecker;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
import lombok.RequiredArgsConstructor;
@@ -36,9 +35,7 @@ public class GaoPointAccountController {
@PostMapping("/account/detail")
public GaoPointAccount detail(@RequestParam String customerId, @RequestParam(required = false) String storeId) {
storeId = resolveStoreId(storeId);
GaoPointAccount account = accountService.getByCustomerId(storeId, customerId);
TimiException.required(account, "not found customer point account");
return account;
return accountService.getByCustomerId(storeId, customerId);
}
private String resolveStoreId(String requestedStoreId) {