My Chinese charger is BLUE positive and brown negative.
Many thanks for your post, demonstrating clearly that without a meter, guessing might have caused serious damage to your e-bike.
Sadly its nothing new from Chinese products. For instance, I bought two identical controllers for a friend of mine (he is not an online person!), from the same ebay company, same order, and the wiring colours were not identical even then!
We had to go by the connectors if I remember correctly!!!
Other owners here are now clearly warned by your excellent comment, thanks.
Andy