execute($sql); $sql = "UPDATE qimall_addons set brief_introduction='团队业绩阶梯奖励' where name = 'Achievement';"; $this->execute($sql); $sql = "UPDATE qimall_addons set brief_introduction='三三复制团队快速裂变' where name = 'Rebate';"; $this->execute($sql); $sql = "UPDATE qimall_addons set brief_introduction='生成授权证书,代理快速发展团队' where name = 'Certificate';"; $this->execute($sql); }catch (\Exception $e){ } } /** * {@inheritdoc} */ public function safeDown() { echo "M230908065027UpdateData cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M230908065027UpdateData cannot be reverted.\n"; return false; } */ }