10 changed files with 159 additions and 58 deletions
-
5app/Constants/LogLabel.php
-
33app/Controller/NotifyController.php
-
3app/Controller/PaymentController.php
-
49app/JsonRpc/OrderService.php
-
2app/Model/OrderMain.php
-
33app/Model/ServiceReward.php
-
6app/Service/FinancialRecordService.php
-
48app/Service/OrderService.php
-
6app/Service/OrderServiceInterface.php
-
32app/Service/SeparateAccountsService.php
@ -0,0 +1,33 @@ |
|||
<?php |
|||
|
|||
declare (strict_types=1); |
|||
namespace App\Model; |
|||
|
|||
class ServiceReward extends Model |
|||
{ |
|||
/** |
|||
* 社区服务点 |
|||
*/ |
|||
const TYPE_COMMUNITY = 1; |
|||
|
|||
/** |
|||
* The table associated with the model. |
|||
* |
|||
* @var string |
|||
*/ |
|||
protected $table = 'lanzu_service_reward'; |
|||
/** |
|||
* The attributes that are mass assignable. |
|||
* |
|||
* @var array |
|||
*/ |
|||
protected $fillable = []; |
|||
/** |
|||
* The attributes that should be cast to native types. |
|||
* |
|||
* @var array |
|||
*/ |
|||
protected $casts = [ |
|||
'set_reward' => 'array' |
|||
]; |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue