作者 王智

xiugai

... ... @@ -609,7 +609,7 @@ class User extends Api
'Unlock' => $FirstUnlock,
'Door' => '完成测试即可开启',
'Rights' => [
'0' => '享100天有效期1000积分',
'0' => '享100天有效期1000氧气泡泡',
'1' => '享100天产品分销权限'
],
'Consumption' => 0
... ... @@ -618,8 +618,9 @@ class User extends Api
'Unlock' => $SecondUnlock,
'Door' => '消费累计¥' . $SecondArray['price'],
'Rights' => [
'0' => '享' . $SecondArray['num'] . '可消费积分',
'1' => '自购产品享' . (100 - ($SecondArray['buycount'] * 100)) . '%返现'
// '0' => '享' . $SecondArray['num'] . '可消费积分',
// '1' => '自购产品享' . (100 - ($SecondArray['buycount'] * 100)) . '%返现'
'0' => '拥有产品分销权限',
],
'Consumption' => $SecondArray['price'] - $Consumed
],
... ... @@ -627,8 +628,9 @@ class User extends Api
'Unlock' => $ThirdUnlock,
'Door' => '消费累计¥' . $ThirdArray['price'],
'Rights' => [
'0' => '享' . $ThirdArray['num'] . '可消费积分',
'1' => '自购产品享' . (100 - ($ThirdArray['buycount'] * 100)) . '%返现'
// '0' => '享' . $ThirdArray['num'] . '可消费积分',
// '1' => '自购产品享' . (100 - ($ThirdArray['buycount'] * 100)) . '%返现'
'0' => '拥有产品分销权限',
],
'Consumption' => $ThirdArray['price'] - $Consumed
]
... ...
... ... @@ -21,7 +21,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
table.bootstrapTable({
url: $.fn.bootstrapTable.defaults.extend.index_url,
pk: 'id',
sortName: 'id',
sortName: 'weigh',
columns: [
[
{checkbox: true},
... ...