Dear masters, how do you use yii2.0 with mongodb as a background permission control system? ? ?
PHP中文网2017-05-02 09:25:32
In fact, I just changed the background database from mysql to mongodb. The rest of the ideas are the same. It has nothing to do with the database.
滿天的星座2017-05-02 09:25:32
I agree with the point above. I just changed the background database and the idea is the same.
It’s just that the storage of the permission node was originally changed from json to array and stored directly