chore: release client-v1.0.69
Deploy Client / build-client-web (push) Successful in 40s
Deploy Client / build-macos (push) Successful in 2m13s
Deploy Client / build-android (push) Successful in 1m6s
Deploy Client / build-windows (push) Successful in 1m56s
Deploy Client / build-ios (push) Successful in 2m41s
Deploy Client / release-deploy-client (push) Successful in 1m24s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
This commit is contained in:
wangjia
2026-06-21 19:09:47 +08:00
parent 7a78448a25
commit 381588826c
10 changed files with 147 additions and 11 deletions
@@ -119,4 +119,15 @@ class StockInRepository {
);
}
}
Future<void> withdraw(int id) async {
try {
await _client.put('/stock-in/orders/$id/withdraw');
} on DioException catch (e) {
throw AppException(
e.response?.data?['error'] as String? ?? '撤回失败',
statusCode: e.response?.statusCode,
);
}
}
}
@@ -119,4 +119,15 @@ class StockOutRepository {
);
}
}
Future<void> withdraw(int id) async {
try {
await _client.put('/stock-out/orders/$id/withdraw');
} on DioException catch (e) {
throw AppException(
e.response?.data?['error'] as String? ?? '撤回失败',
statusCode: e.response?.statusCode,
);
}
}
}