1
This commit is contained in:
parent
60fcfd4867
commit
829a3a1d10
@ -32,21 +32,18 @@ class AddReward {
|
|||||||
return $it;
|
return $it;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getShop($shop_id)
|
protected function getDrop($drop_id)
|
||||||
{
|
{
|
||||||
$g_conf_shop_cluster = require('../res/shop@shop.php');
|
$g_conf_drop_cluster = require('../res/drop@drop.php');
|
||||||
$shop_conf = getShopConfig($g_conf_shop_cluster, $shop_id);
|
$drop_conf = getDropConfig($g_conf_drop_cluster, $drop_id);
|
||||||
$s = array(
|
$d = array(
|
||||||
'shop_id' => $shop_conf['shop_id'],
|
'drop_id' => $drop_conf['drop_id'],
|
||||||
'item_id' => $shop_conf['item_id'],
|
'item_id' => $drop_conf['item_id'],
|
||||||
'num' => $shop_conf['num'],
|
'num' => $drop_conf['num'],
|
||||||
'item_weight' => $shop_conf['item_weight'],
|
'weight' => $drop_conf['weight'],
|
||||||
'discount' => $shop_conf['discount'],
|
'type' => $drop_conf['type']
|
||||||
'discount_weight' => $shop_conf['discount_weight'],
|
|
||||||
'tip' => $shop_conf['tip'],
|
|
||||||
'type' => $shop_conf['shop_type']
|
|
||||||
);
|
);
|
||||||
return $s;
|
return $d;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getExplode($string)
|
protected function getExplode($string)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user