Skip to content

Commit

Permalink
update groupbuy app module
Browse files Browse the repository at this point in the history
  • Loading branch information
王正东 committed Jan 28, 2021
1 parent 251ad84 commit 623ebda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/apps/groupbuy/merchant.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public function insert()
'price_ladder' => $price_ladder,
'restrict_amount' => intval($restrict_amount),
'gift_integral' => intval($gift_integral),
'deposit' => intval($deposit),
'deposit' => $deposit,
)),
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<label class="control-label col-lg-2">{t domain="groupbuy"}限购数量:{/t}</label>
<div class="col-lg-6">
<input class="form-control" type="text" name="restrict_amount" id="restrict_amount" value="{$group_buy.restrict_amount|default:0}" {if $group_buy.status neq 0 && $group_buy.status neq 1}disabled{/if}/>
<span class="help-block">{t domain="groupbuy"}达到此数量,团购活动自动结束。0表示没有数量限制。{/t}</span>
<span class="help-block">{t domain="groupbuy"}限购数量不可大于商品库存,0表示最大库存数量。{/t}</span>
</div>
</div>

Expand Down

0 comments on commit 623ebda

Please sign in to comment.