Commit e2a5e3a1 by 杨树贤

å®修改红包配置项,金额固定选择数额,新增配置项之后不能修改

parent 49b6a28c
......@@ -61,12 +61,4 @@ class ExchangeSettingsController extends Controller
return $this->view();
}
public function storeExchangeSetting(Request $request)
{
// $result = $this->service->storeExchangeSetting('/integrals', $request->all());
// if ($result['errno'] === 0) {
// return redirect('/integrals/integralList');
// }
}
}
......@@ -7,32 +7,46 @@ return [
'login' => [
'login' => 'http://' . env('LOGIN_DOMAIN', '') . '/login',
'logout'=> 'http://' . env('LOGIN_DOMAIN', '') . '/logout',
'logout' => 'http://' . env('LOGIN_DOMAIN', '') . '/logout',
'check' => 'http://' . env('LOGIN_DOMAIN', '') . '/api/checklogin',
'search'=> 'http://' . env('LOGIN_DOMAIN', '') . '/api/search',
'dashboard'=>'http://'.env('LOGIN_DOMAIN', '') . '/dashboard',
'search' => 'http://' . env('LOGIN_DOMAIN', '') . '/api/search',
'dashboard' => 'http://' . env('LOGIN_DOMAIN', '') . '/dashboard',
],
'perm' => [
'id' => env('PERM_ID'),
'url' => env('PERM_URL'),
'goUrl' => env('PERM_GOURL'),
'adminGroup'=> explode(',',env('ADMIN_GROUP')),//管理员权限组,有所有权限
'adminGroup' => explode(',', env('ADMIN_GROUP')),//管理员权限组,有所有权限
'menuId' => env('MENU_ID'),
'menuUrl' => env('MENU_URL'),
'menuSign' => env('MENU_SIGN'),
'notAuth' => explode(',',env('NOT_AUTH'))//不用验证权限的方法
'notAuth' => explode(',', env('NOT_AUTH'))//不用验证权限的方法
],
'data' => env('DATA_DOMAIN', 'news.liexin.com'),
'upload' => [
'url' => 'http://api.ichunt.com/oss/upload',
'key' => 'fh6y5t4rr351d2c3bryi'
'key' => 'fh6y5t4rr351d2c3bryi',
],
'ES_URL' => env('ES_URL',''),
'ES_URL' => env('ES_URL', ''),
'GoodsInfoServer' => 'http://192.168.2.232:61002',
'OfferServer' => 'http://192.168.2.232:61004'
'OfferServer' => 'http://192.168.2.232:61004',
'cost_item' => [
1 => '1元',
2 => '2元',
5 => '5元',
10 => '10元',
20 => '20元',
30 => '30元',
50 => '50元',
100 => '100元',
200 => '200元',
300 => '300元',
500 => '500元',
],
];
......@@ -15,14 +15,8 @@
{!! $statusPresenter->render('type','商品类型',0,[0=>'无',1=>'话费充值',2=>'微信提现']) !!}
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">兑换所需金额</label>
<div class="layui-input-inline">
<input type="text" name="amount"
lay-verify="required|number"
autocomplete="off" class="layui-input">
</div>
</div>
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('amount','兑换所需金额',0,config('website.cost_item')) !!}
</div>
<div class="layui-form-item">
<div class="layui-inline">
......
......@@ -42,7 +42,7 @@
</div>
<script type="text/html" id="operate">
<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">编辑</a>
{{-- <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">编辑</a>--}}
@{{# if(d.status == '使用中'){ }}
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="disable">禁用</a>
@{{# } 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 sign in to comment