OK, well, the very first thing you should do when replacing a part with a third-party substitute is to actually LOOK AT IT and determine if there is anything unusual there.
Next, you should learn the names of important components, such as the battery, the controller, and the bike itself, so that you can correctly identify them for others.
So, either your ORIGINAL BATTERY, and possibly the CONTROLLER, but NOT the BIKE ITSELF, have these extra white and blue wires in addition to the STANDARD RED AND BLACK POWER WIRES.
So, you could just plug in the standard red and black power wires, and if your face does not catch on fire, it might work. IF the white is a temperature or other sensor, your controller MIGHT, or MIGHT NOT, work without that plugged in. IF the blue is connected to a switch in the battery, and represents the ON button, THEN it almost definitely will NOT work, unless you consider being OFF all of the time to be correct functionality.
Now, IF you had an exact model number and looked up your particular bike at a number of sources, then you MIGHT be able to find some accurate information about how to proceed, after you RTFM.