2017 © Pedro Peláez
 

library yii2-jd-deposit

a yii2-extendes for jd-deposit

image

graychen/yii2-jd-deposit

a yii2-extendes for jd-deposit

  • Wednesday, April 25, 2018
  • by Graychen
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

yii-jd-deposit

Latest Stable Version Total Downloads Build Status Scrutinizer Code Quality Code Coverage Build Status StyleCI, (*1)

this is a composer-extends for jd game(这是一个和京东游戏充值对接的模块), (*2)

Migrate database

To add a lookup table to your database, following is the sql for lookup:

you can use yii migration, (*3)

yii migrate/up --migrationPath=@graychen/yii2/jd/deposit/migrations

api

Config Module in components part, (*4)

'jd-deposit' => [
    'class' => 'graychen\yii2\jd\deposit\Module',
]

Use Actions, (*5)

class jdController extends Controller
{
    public function actions()
    {
        return [
            'create' => [
                'class' => 'graychen\yii2\jd\deposit\createAction'
            ],
             'status' => [
                            'class' => 'graychen\yii2\jd\deposit\statusAction'
             ]
        ];
    }
}

backend

Config -> main.php

'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => [
                '@graychen/yii2/jd/deposit/migrations'
            ],
        ],
    ],

Config Module in components part

php 'queue' => [ 'class' => 'graychen\yii2\deposit\backend\Module', ], (*6)

View

after that,you can website https://localhost/admin/deposit/default

ChangeLog

changelog, (*7)

The Versions

25/04 2018

dev-master

9999999-dev

a yii2-extendes for jd-deposit

  Sources   Download

MIT

The Requires

 

The Development Requires

by 陈家辉

25/04 2018

dev-develop

dev-develop

a yii2-extendes for jd-deposit

  Sources   Download

MIT

The Requires

 

The Development Requires

by 陈家辉

25/04 2018

v0.0.1

0.0.1.0

a yii2-extendes for jd-deposit

  Sources   Download

MIT

The Requires

 

The Development Requires

by 陈家辉