Skip to content

Commit

Permalink
修复支付状态判断错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
songchudong committed Apr 14, 2022
1 parent 188fb8b commit 7dd1380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BTPanel/static/js/public.js
Original file line number Diff line number Diff line change
Expand Up @@ -6410,7 +6410,7 @@ var product_recommend = {
get_pay_status:function(){
var pro_end = parseInt(bt.get_cookie('pro_end') || -1);
var ltd_end = parseInt(bt.get_cookie('ltd_end') || -1);
var is_pay = pro_end >= -1 && ltd_end > -1; // 是否购买付费版本
var is_pay = pro_end >= -1 || ltd_end > -1; // 是否购买付费版本
var advanced = 'ltd'; // 已购买,企业版优先显示
if(pro_end === -2 || pro_end > -1) advanced = 'pro';
if(ltd_end === -2 || ltd_end > -1) advanced = 'ltd';
Expand Down

0 comments on commit 7dd1380

Please sign in to comment.