@ -1267,7 +1267,8 @@ end
if school.present?
customer = Customer.new(school_id: s)
customer.save!
PartnerCustomer.create(partner_id: partner_id,customer_id: customer.id )
PartnerCustomer.create!(partner_id: partner_id,customer_id: customer.id )
school.update_attributes(customer_id: customer.id)
end
render :json => {status: 1, message: "创建成功!"}