Explorar o código

add default value

zxiansheng %!s(int64=4) %!d(string=hai) anos
pai
achega
0effe71809
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      frontendApi/modules/v1/controllers/BonusController.php

+ 1 - 0
frontendApi/modules/v1/controllers/BonusController.php

@@ -49,6 +49,7 @@ class BonusController extends BaseController {
             $data = [
                 'BONUS' => 0,
                 'RECONSUME_POINTS' => 0,
+                'EXCHANGE_POINTS' => 0,
             ];
         }
         $data['CASH'] = 0;