'完成', self::success => '成功', self::fail => '失败', self::cancel => '已取消', self::wait => '等待', self::processing => '处理中', self::waitRevert => '等待恢复', self::processingRevert => '恢复处理中', self::revertSuccess => '已恢复', self::revertFail => '恢复失败', ]; return $codeMap[$code] ? $codeMap[$code] : ''; } const productImgProcessTypeNormal = 'normal'; const productImgProcessTypeRevert = 'revert'; }