1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?php
- return array
- (
- 'list' => array
- (
- 'field' => array
- (
- 'id',
- 'name',
- 'discount',
- 'cash' => array
- (
- 'name' => '余额 / 授信 / 充值',
- 'type' => 'show',
- 'show' => '"{cash}/{credit}/{p_cash}"',
- ),
- 'status' => array
- (
- 'type' => 'switch',
- 'show' => '{status}',
- 'active_value' => 1,
- 'inactive_value' => 2,
- ),
- ),
- 'data_button' => array
- (
- '编辑' => array('fastedit', 'name,credit,discount'),
- '渠道设置' => array('edit', 'seller/channel', 'Operation'),
- '折扣设置' => array('edit', 'seller/goods', 'Odometer'),
- '查看账户' => array('fastedit', 'doc,host,appkey,appsecret', 'View'),
- ),
- 'button' => array
- (
- '新增' => array('fastadd', 'name,credit,discount'),
- ),
- 'search' => array
- (
- 'name',
- ),
- ),
- 'update' => array
- (
- 'field' => array
- (
- 'doc' => array
- (
- 'name' => '接口文档',
- 'type' => 'show',
- 'default' => 'http://www.docway.net/project/1euEYXnqSa9/1euEYZQ2rUu',
- ),
- 'host' => array
- (
- 'name' => '接口域名',
- 'type' => 'show',
- 'default' => Dever::host(),
- ),
- 'appkey' => 'show',
- 'appsecret' => 'show',
- 'name',
- 'credit',
- 'discount' => array
- (
- 'desc' => '直接填写折扣数值,如0.98',
- ),
- 'seller/channel' => array
- (
- 'name' => '渠道设置',
- 'where' => array('seller_id' => 'id'),
- ),
- 'seller/goods' => array
- (
- 'name' => '折扣设置',
- 'desc' => '设置之后,默认折扣将失效',
- 'where' => array('seller_id' => 'id'),
- 'show' => false,
- ),
- ),
- 'end' => 'seller/manage.createAppKey',
- ),
- );
|