Commit 571852fe authored by Alex朱枝文's avatar Alex朱枝文

公司授权bug修复

parent a1a81d88
......@@ -90,7 +90,7 @@ class YHCompanyAuthorizationViewController: YHBaseViewController {
return
}
// 2-开启,3-关闭
let status = detailModel.isSettlement ? 3 : 2
let status = viewModel.isMyCompanyOpen ? 2 : 3
YHHUD.show(.progress(message: "加载中..."))
viewModel.companyAuthor(status: status) { [weak self] success, errorMsg in
guard let self = self else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment