|
@@ -33,11 +33,16 @@ namespace MySystem
|
|
|
AlipayMerchantIndirectAuthorderCreateRequest request = new AlipayMerchantIndirectAuthorderCreateRequest();
|
|
|
string out_biz_no = DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8);
|
|
|
string identity_type = info.SubjectType;
|
|
|
+ string store_address = info.BizStoreAddress;
|
|
|
string merchant_type = "STORE";
|
|
|
if(!string.IsNullOrEmpty(info.MerchantType))
|
|
|
{
|
|
|
merchant_type = info.MerchantType;
|
|
|
}
|
|
|
+ if(merchant_type == "STALL")
|
|
|
+ {
|
|
|
+ store_address = "无";
|
|
|
+ }
|
|
|
if (identity_type == "SUBJECT_TYPE_ENTERPRISE") identity_type = "ENTERPRISE";
|
|
|
if (identity_type == "SUBJECT_TYPE_INDIVIDUAL") identity_type = "IND_BIZ";
|
|
|
if (identity_type == "SUBJECT_TYPE_SMALL")
|
|
@@ -115,7 +120,7 @@ namespace MySystem
|
|
|
" \"city\":\"" + city + "\"," +
|
|
|
" \"district_code\":\"" + district_code + "\"," +
|
|
|
" \"district\":\"" + district + "\"," +
|
|
|
- " \"store_address\":\"" + info.BizStoreAddress + "\"," +
|
|
|
+ " \"store_address\":\"" + store_address + "\"," +
|
|
|
" \"store_door_img\":\"" + UploadPic(info.StoreEntrancePic.Split(',')[0]) + "\"," +
|
|
|
" \"store_inner_img\":\"" + UploadPic(info.IndoorPic.Split(',')[0]) + "\"" +
|
|
|
" }";
|