change view engine to swig.

Signed-off-by: Robert <robertzml@126.com>