[zhaxi] customer middle ware