|
|
@@ -1184,7 +1184,7 @@ public class ClaudeCodeServiceImpl implements ClaudeCodeService {
|
|
|
|
|
|
@Override
|
|
|
public void adjClaudeCodeUserPoints(Long userId, Integer points, String type, String description) throws Exception {
|
|
|
- String apiKeyUrl = String.format(Constant.CLAUDE_CODE_API_PREFIX + "api/users/%/balance/adjust", userId);
|
|
|
+ String apiKeyUrl = String.format(Constant.CLAUDE_CODE_API_PREFIX + "api/users/%s/balance/adjust", userId);
|
|
|
Map<String, Object> parmas = new HashMap<>();
|
|
|
parmas.put("platform", "claude");
|
|
|
parmas.put("amount", points);
|