diff --git a/src/subpackage/party/js/api.js b/src/subpackage/party/js/api.js
index b28ec5b..8a02bbc 100644
--- a/src/subpackage/party/js/api.js
+++ b/src/subpackage/party/js/api.js
@@ -17,6 +17,8 @@ export const PARTY_API = {
getOpenIdByToken: `${ORIGIN}/web/webBrandUser/getUserOpenId`, //获取openid
bindBrand: `${ORIGIN}/admin/tryout/bindBrand`, //绑定品牌
getVerifyMiniAppInfo: `${ORIGIN}/admin/tryout/verifyMiniAppInfo/get`, //获取转正数据
+ brandGet: `${ORIGIN}/stadium/brand/get`, //获取转正数据如get/63
+
verifybetaweapp: `${ORIGIN}/admin/wechatTpp/mini/tryout/verifybetaweapp`, //转正
bindingOpenId: `${ORIGIN}/assistant/bindingOpenId`, //改为小程序端绑定openid
@@ -33,19 +35,21 @@ export const PARTY_API = {
editTempDraft: `${ORIGIN}/web/webBrandAuthenticationTemp/edit`, //保存草稿
getTempDraft: `${ORIGIN}/web/webBrandAuthenticationTemp/get`, //获取草稿
+
+
}
PARTY_API['gatewayDoJson'] = {
- getaccountbasicinfo: { "appid": "wxeb7efb9a1cbdd554", "module": "/cgi-bin/account/getaccountbasicinfo", "method": "POST", "form": {} }, // 获取账户基本信息
+ getaccountbasicinfo: { "appid": "", "module": "/cgi-bin/account/getaccountbasicinfo", "method": "POST", "form": {} }, // 获取账户基本信息
// checkwxverifynickname: { "appid": "wxeb7efb9a1cbdd554", "module": "/cgi-bin/wxverify/checkwxverifynickname", "method": "POST", "form": { "nick_name": "修改小程序名称" } },
// modifywxverifynickname: {"appid":"wxeb7efb9a1cbdd554","module":"/wxa/setnickname","method":"POST","form":{"nick_name":"欧轩企业管理2","id_card":"BQGH4DpbizOg3wGtGhE_uWudXRoRhnbr7K5KkJYgHQfaK1to2O-u-CkZEN5Faeak","license":""}},
- getcategory: { "appid": "wx27f426fb3b167390", "module": "/cgi-bin/wxopen/getcategory", "method": "GET", "form": {} },
- get_icp_entrance_info: { "appid": "wx27f426fb3b167390", "module": "/wxa/icp/get_icp_entrance_info", "method": "GET", "form": {} },
+ getcategory: { "appid": "", "module": "/cgi-bin/wxopen/getcategory", "method": "GET", "form": {} },
+ get_icp_entrance_info: { "appid": "", "module": "/wxa/icp/get_icp_entrance_info", "method": "GET", "form": {} },
// 小程序改名
- checkwxverifynickname: { "appid": "wx27f426fb3b167390", "module": "/cgi-bin/wxverify/checkwxverifynickname", "method": "POST", "form": { "nick_name": "修改小程序名称" } },
- modifywxverifynickname: { "appid": "wxeb7efb9a1cbdd554", "module": "/wxa/setnickname", "method": "POST", "form": { "nick_name": "欧轩企业管理2", "id_card": "BQGH4DpbizOg3wGtGhE_uWudXRoRhnbr7K5KkJYgHQfaK1to2O-u-CkZEN5Faeak", "license": "" } },
+ checkwxverifynickname: { "appid": "", "module": "/cgi-bin/wxverify/checkwxverifynickname", "method": "POST", "form": { "nick_name": "修改小程序名称" } },
+ modifywxverifynickname: { "appid": "", "module": "/wxa/setnickname", "method": "POST", "form": { "nick_name": "欧轩企业管理2", "id_card": "BQGH4DpbizOg3wGtGhE_uWudXRoRhnbr7K5KkJYgHQfaK1to2O-u-CkZEN5Faeak", "license": "" } },
setnickname: {
- "appid": "wxeb7efb9a1cbdd554",
+ "appid": "",
"module": "/wxa/setnickname",
"method": "POST",
"form": {
@@ -57,39 +61,39 @@ PARTY_API['gatewayDoJson'] = {
getwxauthinfo: { "module": "/wxa/sec/wxaauth", "appid": "wxeb7efb9a1cbdd554" },
wxauth: {//提交认证信息
- "appid": "wxeb7efb9a1cbdd554",
+ "appid": "",
"module": "/wxa/sec/wxaauth",
"method": "POST",
"form": {}
},
getwxauth: {//获取认证信息
- "appid": "wxeb7efb9a1cbdd554",
+ "appid": "",
"module": "/wxa/sec/wxaauth",
"method": "GET",
"form": {}
},
create_icp_verifytask: {//发起人身核身
- "appid": "wxeb7efb9a1cbdd554",
+ "appid": "",
"module": "/wxa/icp/create_icp_verifytask",
"method": "POST", "form": {}
},
apply_icp_filing: { //提交ICP备案信息
- "appid": "wxeb7efb9a1cbdd554",
+ "appid": "",
"module": "/wxa/icp/apply_icp_filing",
"method": "POST", "form": {}
},
- query_icp_certificate_types: { "appid": "wxeb7efb9a1cbdd554", "module": "/wxa/icp/query_icp_certificate_types", "method": "GET", "form": {} },
- query_icp_subject_types: { "appid": "wxeb7efb9a1cbdd554", "module": "/wxa/icp/query_icp_subject_types", "method": "GET", "form": {} },
- query_icp_district_code: { "appid": "wxeb7efb9a1cbdd554", "module": "/wxa/icp/query_icp_district_code", "method": "GET", "form": {} },
- query_icp_service_content_types: { "appid": "wxeb7efb9a1cbdd554", "module": "/wxa/icp/query_icp_service_content_types", "method": "GET", "form": {} },
+ query_icp_certificate_types: { "appid": "", "module": "/wxa/icp/query_icp_certificate_types", "method": "GET", "form": {} },
+ query_icp_subject_types: { "appid": "", "module": "/wxa/icp/query_icp_subject_types", "method": "GET", "form": {} },
+ query_icp_district_code: { "appid": "", "module": "/wxa/icp/query_icp_district_code", "method": "GET", "form": {} },
+ query_icp_service_content_types: { "appid": "", "module": "/wxa/icp/query_icp_service_content_types", "method": "GET", "form": {} },
// apply_icp_filing: { "appid": "wxeb7efb9a1cbdd554", "module": "/wxa/icp/apply_icp_filing", "method": "POST", "form": {} },
- addcategory:{"appid":"wxeb7efb9a1cbdd554","module":"/cgi-bin/wxopen/addcategory","method":"POST","form":{"categories":[{"certicates":[],"first":0,"second":0}]}},
- getcategory:{"appid":"wxeb7efb9a1cbdd554","module":"/cgi-bin/wxopen/getcategory","method":"GET","form":{}},
+ addcategory:{"appid":"","module":"/cgi-bin/wxopen/addcategory","method":"POST","form":{"categories":[{"certicates":[],"first":0,"second":0}]}},
+ getcategory:{"appid":"","module":"/cgi-bin/wxopen/getcategory","method":"GET","form":{}},
//查询认证信息
- queryauth: {"appid":"wxeb7efb9a1cbdd554","module":"/wxa/sec/queryauth","method":"POST","form":{"taskid":"$LAST_RESULT./wxa/sec/wxaauth.taskid"}},
+ queryauth: {"appid":"","module":"/wxa/sec/queryauth","method":"POST","form":{"taskid":"$LAST_RESULT./wxa/sec/wxaauth.taskid"}},
}
diff --git a/src/subpackage/party/pages/index/index.vue b/src/subpackage/party/pages/index/index.vue
index 18ddd6c..0e08383 100644
--- a/src/subpackage/party/pages/index/index.vue
+++ b/src/subpackage/party/pages/index/index.vue
@@ -65,14 +65,14 @@
- 试用小程序
+
收款账户申请(商户号)
@@ -104,6 +104,7 @@
data() {
return {
appid: "",
+ brandInfo:{},//品牌信息
url_manager: [{
"url":"https://testadmin.ouxuanzhineng.cn",
"show":"testadmin.ouxuanzhineng.cn"
@@ -125,9 +126,12 @@
// AppID: wx7873af4ffca558fd test
}
},
- onLoad(opts) {
+ async onLoad(opts) {
console.log("onload-", opts)
this.appid = opts.appid;
+ let _brandInfo = await this.$store.dispatch('getBrandInfo');
+ console.log("_brandInfo:",_brandInfo)
+ this.brandInfo = _brandInfo
// if(!opts.appid){
// opts.appid = "wxc141a743225e7885"
// }
@@ -165,11 +169,19 @@
},
toMiniAppRegist(index){
let {miniapp_app_id,appid} = this
- console.log('toMiniAppRegist',index,appid)
+ let {is_try_out} = this.brandInfo.brand.mini_wechat
+ console.log('toMiniAppRegist',index,appid,is_try_out)
+ console.log('miniapp_app信息:',this.brandInfo.brand.mini_wechat)
if(!appid){
util.routeTo(`/subpackage/party/pages/miniapp/wx_auth_select?index=${index}`,'nT');
}else{
- util.routeTo(`/subpackage/party/pages/miniapp/regist?appid=${appid}`,'nT');
+ //is_try_out 需要确认一下测试小程序转正后, 是否为false. 此处为猜测.因后台不确定.
+ if(!is_try_out){
+ util.routeTo(`/subpackage/party/pages/miniapp/regist?appid=${appid}`,'nT');
+ }else{
+ util.showNone('已有待转正小程序:',appid)
+ util.routeTo(`/subpackage/party/pages/miniapp/regular`,'nT');
+ }
}
},
checkMiniAppRegist(){
@@ -191,6 +203,9 @@
console.log("checkMiniAppRegist-err", err)
})
},
+ getBrandInfoWeb(){
+ // 后台获取品牌信息接口获取试用小程序转正信息
+ },
toWebPage(){
console.log('toWebPage')
let url = this.getManagerUrl.url;
diff --git a/src/subpackage/party/pages/login/login.vue b/src/subpackage/party/pages/login/login.vue
index 3dad910..8e24670 100644
--- a/src/subpackage/party/pages/login/login.vue
+++ b/src/subpackage/party/pages/login/login.vue
@@ -46,7 +46,7 @@
-
+
diff --git a/src/subpackage/party/pages/login/regist.vue b/src/subpackage/party/pages/login/regist.vue
index 2fa7a4e..d98f74c 100644
--- a/src/subpackage/party/pages/login/regist.vue
+++ b/src/subpackage/party/pages/login/regist.vue
@@ -149,7 +149,7 @@
手机号*
-
@@ -164,6 +164,7 @@