Browse Source

11

undefined
loumengning 4 years ago
parent
commit
50c9d68e4c
2 changed files with 10 additions and 8 deletions
  1. +2
    -0
      application/admin/controller/unishop/market/FlashSale.php
  2. +8
    -8
      public/assets/js/backend/unishop/market/flash_sale.js

+ 2
- 0
application/admin/controller/unishop/market/FlashSale.php View File

@@ -35,6 +35,8 @@ class FlashSale extends Backend
*/
protected $modelSceneValidate = true;

protected $noNeedLogin=["export"];

/**
* FlashSale模型对象
* @var \app\admin\model\unishop\FlashSale


+ 8
- 8
public/assets/js/backend/unishop/market/flash_sale.js View File

@@ -42,14 +42,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
events: Table.api.events.operate,
formatter: Table.api.formatter.operate,
buttons:[
{
name: 'done',
text: __('Flash done'),
classname: 'btn btn-xs btn-info btn-ajax btn-flash-done',
icon: 'fa fa-info',
url: 'unishop/market/flash_sale/done',
refresh: true
},
// {
// name: 'done',
// text: __('Flash done'),
// classname: 'btn btn-xs btn-info btn-ajax btn-flash-done',
// icon: 'fa fa-info',
// url: 'unishop/market/flash_sale/done',
// refresh: true
// },
{
name: 'done',
text: __('导出'),


Loading…
Cancel
Save