Photoelectrochemical (PEC) is a highly sensitive and fast analytical method that can be used at low concentrations, while photoelectrochromic is a simple and low-cost method primarily utilized for high concentration detection. Therefore, we have developed a dual-signal output sensing platform based on both PEC and photoelectrochromism for rapid and sensitive OTA detection. The sensing platform is divided into signal generation (SG) region and signal output (SO) region, which modified with WO3/BiVO4 photoactive nanocomposites and polyaniline (PANI), respectively. By irradiating the SG region, photogenerated electrons are generated and injected into the SO region through the conductive pathway, resulting in a decrease in surface blue polyaniline and a change to green. The smart device can accurately measure the RGB-Green values, enabling the construction of a photochromic visual sensing platform. After immobilizing the OTA aptamer in the SG region, a linear correlation was observed between the concentration of OTA and the RGB-Green value within the range of 20 ng/L ∼250 μg/L. The detection limit was determined to be 8.33 ng/L (S/N = 3). Furthermore, for a more sensitive OTA detection, a PEC sensing platform was developed utilizing the SG region as a photoanode, exhibiting a linear correlation in the range of 2 pg/L∼300 μg/L with a detection limit of 0.8 pg/L (S/N = 3). The detection of these two modes under the requirement of the international standard for the maximum limit realizes the sensitive OTA detection. The RGB-Green is verified to PEC signal, which improves the detection accuracy. The sensing platform has several advantages and is suitable for various application scenarios.