接口修改12
This commit is contained in:
parent
e95a7d3b64
commit
01f9b4b160
@ -61,13 +61,13 @@
|
|||||||
limit: 20,
|
limit: 20,
|
||||||
cols: [
|
cols: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
field: 'id',
|
field: 'id',
|
||||||
title: '编号',
|
title: '编号',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width:80,
|
width:80,
|
||||||
},{
|
},{
|
||||||
field: 'area',
|
field: 'area',
|
||||||
title: '区域',
|
title: '区域',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@ -109,19 +109,6 @@
|
|||||||
title: '添加时间',
|
title: '添加时间',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width:150,
|
width:150,
|
||||||
},{
|
|
||||||
field: 'status',
|
|
||||||
templet: function (d)
|
|
||||||
{
|
|
||||||
var html = '<span style="color:#fbbc05">禁用</span>';
|
|
||||||
if (d.status == '0') {
|
|
||||||
html = '<span style="color:#12bb37">正常</span>';
|
|
||||||
}
|
|
||||||
return html;
|
|
||||||
},
|
|
||||||
title: '状态',
|
|
||||||
align: 'center',
|
|
||||||
width:100,
|
|
||||||
},{
|
},{
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
field: 'right',
|
field: 'right',
|
||||||
|
@ -14,5 +14,5 @@
|
|||||||
class ProductOrderLog extends Model
|
class ProductOrderLog extends Model
|
||||||
{
|
{
|
||||||
// 设置当前模型的数据库连接
|
// 设置当前模型的数据库连接
|
||||||
protected $connection = 'sznk_shop';
|
protected $connection = 'shop_lihaink_com';
|
||||||
}
|
}
|
@ -14,5 +14,5 @@
|
|||||||
class StoreProduct extends Model
|
class StoreProduct extends Model
|
||||||
{
|
{
|
||||||
// 设置当前模型的数据库连接
|
// 设置当前模型的数据库连接
|
||||||
protected $connection = 'sznk_shop';
|
protected $connection = 'shop_lihaink_com';
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user