You've already forked qlg.tsgz.moe
addons
extend
hyhproject
admin
behavior
common
conf
controller
model
validate
Accreds.php
AdPositions.php
Adgoods.php
Ads.php
Areas.php
ArticleCats.php
Articles.php
Attributes.php
Banks.php
Brands.php
ChargeItems.php
DataCats.php
Datas.php
Express.php
Friendlinks.php
GoodsAppraises.php
GoodsCats.php
GoodsConsult.php
HomeMenus.php
Menus.php
MobileBtns.php
Navs.php
Payments.php
Privileges.php
Roles.php
Shops.php
SpecCats.php
Staffs.php
UserRanks.php
Users.php
view
app
common
home
home2
mobile2
wechat2
.htaccess
command.php
mobile
oss
static
thinkphp
upload
vendor
wxtmp
.gitignore
.htaccess
.user.ini
404.html
H5B854518.wgt
admin.php
app-release.apk
cash.lock
demo.php
get_startup.php
get_version.php
get_version_new.php
index.html
index.php
reg.lock
robots.txt
18 lines
572 B
PHP
Executable File
18 lines
572 B
PHP
Executable File
<?php
|
|
namespace wstmart\admin\validate;
|
|
use think\Validate;
|
|
/**
|
|
* ============================================================================
|
|
* 广告位置验证器
|
|
*/
|
|
class ChargeItems extends Validate{
|
|
protected $rule = [
|
|
['chargeMoney' ,'require|egt:1','请输入充值金额|充值金额必须大于0'],
|
|
['giveMoney' ,'require|egt:0','请输入赠送金额|赠送金额必须不小于0'],
|
|
];
|
|
|
|
protected $scene = [
|
|
'add' => ['chargeMoney','giveMoney'],
|
|
'edit' => ['chargeMoney','positionCode'],
|
|
];
|
|
} |