goods {
dataValues:
{ id: 2,
name: 'Xiaomi readme note 7',
description: 'Xiaomi readme note 7',
cost: 101,
image: null,
createdAt: 2019-09-10T07:29:32.019Z,
updatedAt: 2019-09-10T07:29:32.019Z },
_previousDataValues:
{ id: 2,
name: 'Xiaomi readme note 7',
description: 'Xiaomi readme note 7',
cost: 101,
image: null,
createdAt: 2019-09-10T07:29:32.019Z,
updatedAt: 2019-09-10T07:29:32.019Z },
_changed: {},
_modelOptions:
{ timestamps: true,
validate: {},
freezeTableName: false,
underscored: false,
paranoid: false,
rejectOnEmpty: false,
whereCollection: null,
schema: null,
schemaDelimiter: '',
defaultScope: {},
scopes: {},
indexes: [],
name: [Object],
omitNull: false,
sequelize: [Sequelize],
hooks: {} },
_options:
{ isNewRecord: false,
_schema: null,
_schemaDelimiter: '',
raw: true,
attributes: [Array] },
isNewRecord: false },
goods {
dataValues:
{ id: 1,
name: 'Iphone 10',
description: 'Iphone 10',
cost: 100,
image: null,
createdAt: 2019-09-10T07:29:05.728Z,
updatedAt: 2019-09-10T07:29:05.728Z },
_previousDataValues:
{ id: 1,
name: 'Iphone 10',
description: 'Iphone 10',
cost: 100,
image: null,
createdAt: 2019-09-10T07:29:05.728Z,
updatedAt: 2019-09-10T07:29:05.728Z },
_changed: {},
_modelOptions:
{ timestamps: true,
validate: {},
freezeTableName: false,
underscored: false,
paranoid: false,
rejectOnEmpty: false,
whereCollection: null,
schema: null,
schemaDelimiter: '',
defaultScope: {},
scopes: {},
indexes: [],
name: [Object],
omitNull: false,
sequelize: [Sequelize],
hooks: {} },
_options:
{ isNewRecord: false,
_schema: null,
_schemaDelimiter: '',
raw: true,
attributes: [Array] },
isNewRecord: false },
return Yii::$app->urlManager->createAbsoluteUrl([Yii::$app->params['homeUrl'].$this->routes[$this->type], 'id' => $this->user_id, 'code' => $this->code]);
/http://site.lc/reset-password?id=28&code=J70spd4AXEpPYgY1zgZEj3C1oPPw5ucg
тут мне кажется не в этом дело