#include <custom_runtime.h>
#include "ConfigModel.h"
#include "../../../../../../../drivers/peripheral/slip/cat1Service/cat1_ctl.h"
+#include "alipay_feature.h"
#include <custom_utils.h>
namespace OHOS
{
else if (viewId == DROPDOWN_ALIPAY_TOGGLEBUTTON_VIEWID) // 支付宝
{
#ifdef SUPPORT_ALIPAY_SEC
+ if(Alipay_is_init()==false)
+ {
+ return false;
+ }
NativeAbility::GetInstance().EnterSlice(VIEW_MAIN_ALIPAY);
#endif
}